The FilesystemMetadataProvider
loads metadata from a file on the local file system. The provider can be configured to periodically reload the metadata if needed.
Contents
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.
Any of the Common Attributes or the Reloading Attributes may be configured. In addition one attribute metadataFile
must be specified:
Name | Type | Default | Description |
---|---|---|---|
metadataFile | String | required | The absolute path to the local metadata file to be loaded |
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.
The following example loads a metadata file from the file system:
<MetadataProvider id="FileMetadata" xsi:type="FilesystemMetadataProvider" metadataFile="%{idp.home}/metadata/FileMetadata.xml"/> |