ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getMetadataSet ($set) | |
This function retrieves the given set of metadata. More... | |
![]() | |
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 constructor initializes the flatfile metadata storage handler with the specified configuration. More... | |
Private Member Functions | |
load ($set) | |
This function loads the given set of metadata from a file our metadata directory. More... | |
generateDynamicHostedEntityID ($set) | |
Private Attributes | |
$directory | |
$cachedMetadata = array() | |
Additional Inherited Members | |
![]() | |
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 12 of file MetaDataStorageHandlerFlatFile.php.
|
protected |
This constructor initializes the flatfile metadata storage handler with the specified configuration.
The configuration is an associative array with the following possible elements:
array | $config | An associative array with the configuration for this handler. |
Definition at line 41 of file MetaDataStorageHandlerFlatFile.php.
References $config, $globalConfig, and SimpleSAML_Configuration\getInstance().
|
private |
Definition at line 127 of file MetaDataStorageHandlerFlatFile.php.
References SimpleSAML\Utils\HTTP\getBaseURL().
Referenced by getMetadataSet().
SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile::getMetadataSet | ( | $set | ) |
This function retrieves the given set of metadata.
It will return an empty array if it is unable to locate it.
string | $set | The set of metadata we are retrieving. |
Reimplemented from SimpleSAML_Metadata_MetaDataStorageSource.
Definition at line 101 of file MetaDataStorageHandlerFlatFile.php.
References $entityId, generateDynamicHostedEntityID(), and load().
|
private |
This function loads the given set of metadata from a file our metadata directory.
This function returns null if it is unable to locate the given set in the metadata directory.
string | $set | The set of metadata we are loading. |
Exception | If the metadata set cannot be loaded. |
Definition at line 72 of file MetaDataStorageHandlerFlatFile.php.
References $metadata.
Referenced by getMetadataSet().
|
private |
Definition at line 29 of file MetaDataStorageHandlerFlatFile.php.
|
private |
Definition at line 21 of file MetaDataStorageHandlerFlatFile.php.