Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 :

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:

Code Block
languagexml
titleLoad Metadata from a file called FileMetadata.xml
<MetadataProvider id="FileMetadata" xsi:type="FilesystemMetadataProvider" metadataFile="%{idp.home}/metadata/FileMetadata.xml"/>