ResourceBackedMetadataProvider
Namespace: urn:mace:shibboleth:2.0:metadata
Schema: http://shibboleth.net/schema/idp/shibboleth-metadata.xsd
Overview
The ResourceBackedMetadataProvider
loads metadata from a resource - a complex source that cannot be located from a file or an HTTP URL. The provider can be configured to periodically check and reload the metadata if needed.
The only supported use of this provider is with a Spring-defined bean which is a Spring Resource (or more rarely a Shibboleth Resource) via the resourceRef
attribute. It's primarily historical but is a useful extension point since implementing a new Resource class is much simpler than an entirely new metadata provider.
Reference
Examples
The following example loads metadata from the supplied bean.
Load Metadata from the classpath
<MetadataProvider id="ClasspathResourceMetadata" xsi:type="ResourceBackedMetadataProvider" resourceRef="SpringResource"/>