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.
Info |
---|
title | Use this provider with local metadata |
---|
|
The FilesystemMetadataProvider is used with local metadata. See the MetadataManagementBestPractices topic for more information. |
Contents
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:
Name | Type | Default | Description |
---|
metadataFile
| String | required | The absolute path to the local metadata file to be loaded |
Anchor |
---|
| CommonAttributes |
---|
| CommonAttributes |
---|
|
Common Attributes Include Page |
---|
| MetadataProviderCommonAttributes |
---|
| MetadataProviderCommonAttributes |
---|
|
Anchor |
---|
| ReloadingAttributes |
---|
| ReloadingAttributes |
---|
|
Reloading Attributes Include Page |
---|
| MetadataProviderReloadingAttributes |
---|
| MetadataProviderReloadingAttributes |
---|
|
Child Elements
Any of the following child elements may be specified (in order).
...
The following example loads a metadata file from the file system:
...
...
language | xml |
---|
title | Load Metadata from a file called FileMetadata.xml |
---|
...
| FilesystemMetadataProviderExample |
---|
| FilesystemMetadataProviderExample |
---|
|