ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($config) | |
Constructor for this metadata handler. More... | |
getMetadataSets () | |
Retrieve a list of all available metadata sets. More... | |
getMetadataSet ($set) | |
Retrieve a list of all available metadata for a given set. More... | |
getMetaData ($entityId, $set) | |
Retrieve a metadata entry. More... | |
saveMetadata ($entityId, $set, $metadata) | |
Save a metadata entry. More... | |
deleteMetadata ($entityId, $set) | |
Delete a metadata entry. More... | |
Public Member Functions inherited from SimpleSAML_Metadata_MetaDataStorageSource | |
getMetadataSet ($set) | |
This function attempts to generate an associative array with metadata for all entities in the given set. More... | |
getEntityIdFromHostPath ($hostPath, $set, $type='entityid') | |
This function resolves an host/path combination to an entity id. More... | |
getPreferredEntityIdFromCIDRhint ($set, $ip, $type='entityid') | |
This function will go through all the metadata, and check the DiscoHints->IPHint parameter, which defines a network space (ip range) for each remote entry. More... | |
getMetaData ($index, $set) | |
This function retrieves metadata for the given entity id in the given set of metadata. More... | |
Data Fields | |
const | EXTENSION = '.serialized' |
Private Member Functions | |
getMetadataPath ($entityId, $set) | |
Helper function for retrieving the path of a metadata file. More... | |
Private Attributes | |
$directory | |
Additional Inherited Members | |
Static Public Member Functions inherited from SimpleSAML_Metadata_MetaDataStorageSource | |
static | parseSources ($sourcesConfig) |
Parse array with metadata sources. More... | |
static | getSource ($sourceConfig) |
This function creates a metadata source based on the given configuration. More... | |
Definition at line 9 of file MetaDataStorageHandlerSerialize.php.
SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::__construct | ( | $config | ) |
Constructor for this metadata handler.
Parses configuration.
array | $config | The configuration for this metadata handler. |
Definition at line 35 of file MetaDataStorageHandlerSerialize.php.
References $config, $globalConfig, SimpleSAML_Configuration\getInstance(), and SimpleSAML_Configuration\loadFromArray().
SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::deleteMetadata | ( | $entityId, | |
$set | |||
) |
Delete a metadata entry.
string | $entityId | The entityId of the metadata entry. |
string | $set | The metadata set this metadata entry belongs to. |
Definition at line 262 of file MetaDataStorageHandlerSerialize.php.
References $entityId, $res, SimpleSAML\Logger\error(), getMetadataPath(), and SimpleSAML\Logger\warning().
SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::getMetaData | ( | $entityId, | |
$set | |||
) |
Retrieve a metadata entry.
string | $entityId | The entityId we are looking up. |
string | $set | The set we are looking for metadata in. |
Definition at line 171 of file MetaDataStorageHandlerSerialize.php.
References $data, $entityId, getMetadataPath(), and SimpleSAML\Logger\warning().
Referenced by getMetadataSet().
|
private |
Helper function for retrieving the path of a metadata file.
string | $entityId | The entity ID. |
string | $set | The metadata set. |
Definition at line 60 of file MetaDataStorageHandlerSerialize.php.
References $entityId.
Referenced by deleteMetadata(), getMetaData(), and saveMetadata().
SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::getMetadataSet | ( | $set | ) |
Retrieve a list of all available metadata for a given set.
string | $set | The set we are looking for metadata in. |
Definition at line 118 of file MetaDataStorageHandlerSerialize.php.
References $entityId, $ret, getMetaData(), and SimpleSAML\Logger\warning().
SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::getMetadataSets | ( | ) |
Retrieve a list of all available metadata sets.
Definition at line 74 of file MetaDataStorageHandlerSerialize.php.
References $path, $ret, and SimpleSAML\Logger\warning().
SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::saveMetadata | ( | $entityId, | |
$set, | |||
$metadata | |||
) |
Save a metadata entry.
string | $entityId | The entityId of the metadata entry. |
string | $set | The metadata set this metadata entry belongs to. |
array | $metadata | The metadata. |
Definition at line 214 of file MetaDataStorageHandlerSerialize.php.
References $data, $entityId, $metadata, $res, SimpleSAML\Logger\debug(), SimpleSAML\Logger\error(), getMetadataPath(), and SimpleSAML\Logger\info().
|
private |
Definition at line 25 of file MetaDataStorageHandlerSerialize.php.
const SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::EXTENSION = '.serialized' |
Definition at line 17 of file MetaDataStorageHandlerSerialize.php.