The FilesystemMetadataProvider
loads metadata from a file located on the local file system of the IdP. The provider can be configured to periodically check and reload the metadata if needed. This is achieved with the reloading attributesby configuring any of the so-called Reloading Attributes.
Schema Names and location
The <MetadataProvider>
element and the type FilesystemMetadataProvider
are defined by the urn:mace:shibboleth:2.0:metadata
schema, which can be located at http://shibboleth.net/schema/idp/shibboleth-metadata.xsd.
Attributes
Any of the common attributesCommon Attributes or the reloading attributes can be specified. In Reloading Attributes may be configured. In addition one attribute metadataFile
must be specified, this is the :
Name | Type | Default | Description |
---|---|---|---|
metadataFile | String | required | The absolute path to the local metadata file to be loaded |
Child Elements
Any of the following child elements may be specified (in order).
Name | Cardinality | Description |
---|---|---|
<MetadataFilter > | 0 or more | A metadata filter applied to candidate metadata as it flows through the metadata pipeline |
The <MetadataFilter
>
child element is common to all metadata providers. The FilesystemMetadataProvider
type has no child elements of its own.
...
Examples
The following example loads a metadata file from the file system:
Code Block | ||||
---|---|---|---|---|
| ||||
<MetadataProvider id="FileMetadata" xsi:type="FilesystemMetadataProvider" metadataFile="%{idp.home}/metadata/FileMetadata.xml"/> |