The FilesystemMetadataProvider loads metadata from a file on the local file system. The provider can be configured to periodically reload the metadata if needed. This is achieved by 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 Attributes or the Reloading Attributes may be configured. In addition one attribute metadataFile must be specified:

NameTypeDefaultDescription
metadataFile
StringrequiredThe absolute path to the local metadata file to be loaded

Child Elements

Any of the following child elements may be specified (in order).

NameCardinalityDescription
<MetadataFilter>0 or moreA 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:

<MetadataProvider id="FileMetadata" xsi:type="FilesystemMetadataProvider" metadataFile="%{idp.home}/metadata/FileMetadata.xml"/>