|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for SimpleSAML\Metadata\Sources\MDQ:
Collaboration diagram for SimpleSAML\Metadata\Sources\MDQ:Public Member Functions | |
| getMetadataSet ($set) | |
| This function is not implemented. 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... | |
Protected Member Functions | |
| __construct ($config) | |
| This function initializes the dynamic XML metadata source. More... | |
Private Member Functions | |
| getCacheFilename ($set, $entityId) | |
| Find the cache file name for an entity,. More... | |
| getFromCache ($set, $entityId) | |
| Load a entity from the cache. More... | |
| writeToCache ($set, $entityId, $data) | |
| Save a entity to the cache. More... | |
Static Private Member Functions | |
| static | getParsedSet (\SimpleSAML_Metadata_SAMLParser $entity, $set) |
| Retrieve metadata for the correct set from a SAML2Parser. More... | |
Private Attributes | |
| $server | |
| $validateFingerprint | |
| $cacheDir | |
| $cacheLength | |
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... | |
|
protected |
This function initializes the dynamic XML metadata source.
Options:
| array | $config | The configuration for this instance of the XML metadata source. |
Exception If no server option can be found in the configuration.
Definition at line 66 of file MDQ.php.
References $config, $globalConfig, and SimpleSAML_Configuration\getInstance().
Here is the call graph for this function:
|
private |
Find the cache file name for an entity,.
| string | $set | The metadata set this entity belongs to. |
| string | $entityId | The entity id of this entity. |
Definition at line 119 of file MDQ.php.
References $entityId.
Referenced by SimpleSAML\Metadata\Sources\MDQ\getFromCache(), and SimpleSAML\Metadata\Sources\MDQ\writeToCache().
Here is the caller graph for this function:
|
private |
Load a entity from the cache.
| string | $set | The metadata set this entity belongs to. |
| string | $entityId | The entity id of this entity. |
Exception If an error occurs while loading metadata from cache.
Definition at line 139 of file MDQ.php.
References $data, $entityId, SimpleSAML\Logger\debug(), and SimpleSAML\Metadata\Sources\MDQ\getCacheFilename().
Here is the call graph for this function:| SimpleSAML\Metadata\Sources\MDQ::getMetadataSet | ( | $set | ) |
This function is not implemented.
| string | $set | The set we want to list metadata for. |
Reimplemented from SimpleSAML_Metadata_MetaDataStorageSource.
Definition at line 104 of file MDQ.php.
|
staticprivate |
Retrieve metadata for the correct set from a SAML2Parser.
| \SimpleSAML_Metadata_SAMLParser | $entity | A SAML2Parser representing an entity. |
| string | $set | The metadata set we are looking for. |
Definition at line 225 of file MDQ.php.
References $ret, error(), SimpleSAML_Metadata_SAMLParser\getAttributeAuthorities(), SimpleSAML_Metadata_SAMLParser\getMetadata1xIdP(), SimpleSAML_Metadata_SAMLParser\getMetadata1xSP(), SimpleSAML_Metadata_SAMLParser\getMetadata20IdP(), SimpleSAML_Metadata_SAMLParser\getMetadata20SP(), and SimpleSAML\Logger\warning().
Here is the call graph for this function:
|
private |
Save a entity to the cache.
| string | $set | The metadata set this entity belongs to. |
| string | $entityId | The entity id of this entity. |
| array | $data | The associative array with the metadata for this entity. |
Exception If metadata cannot be written to cache.
Definition at line 197 of file MDQ.php.
References $data, $entityId, SimpleSAML\Logger\debug(), and SimpleSAML\Metadata\Sources\MDQ\getCacheFilename().
Here is the call graph for this function:
|
private |