|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for SimpleSAML_Metadata_MetaDataStorageHandlerSerialize:
Collaboration diagram for SimpleSAML_Metadata_MetaDataStorageHandlerSerialize: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 hint.cidr 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().
Here is the call graph for this function:| 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 263 of file MetaDataStorageHandlerSerialize.php.
References $entityId, $error, $res, SimpleSAML\Logger\error(), getMetadataPath(), and SimpleSAML\Logger\warning().
Here is the call graph for this function:| 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. |
Reimplemented from SimpleSAML_Metadata_MetaDataStorageSource.
Definition at line 172 of file MetaDataStorageHandlerSerialize.php.
References $data, $entityId, $error, getMetadataPath(), and SimpleSAML\Logger\warning().
Referenced by getMetadataSet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:| 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. |
Reimplemented from SimpleSAML_Metadata_MetaDataStorageSource.
Definition at line 119 of file MetaDataStorageHandlerSerialize.php.
References $entityId, $file, $ret, getMetaData(), and SimpleSAML\Logger\warning().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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 215 of file MetaDataStorageHandlerSerialize.php.
References $data, $entityId, $error, $metadata, $res, SimpleSAML\Logger\debug(), SimpleSAML\Logger\error(), getMetadataPath(), and SimpleSAML\Logger\info().
Here is the call graph for this function:
|
private |
Definition at line 25 of file MetaDataStorageHandlerSerialize.php.
| const SimpleSAML_Metadata_MetaDataStorageHandlerSerialize::EXTENSION = '.serialized' |
Definition at line 17 of file MetaDataStorageHandlerSerialize.php.