The Shibboleth IdP V4 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP5 wiki space for current documentation on the supported version.

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

Name

Type

Req?

Description

Name

Type

Req?

Description

resourceRef

Bean ID

Y

Bean ID of a Spring Resource

Examples

The following example loads metadata from the supplied bean

Load Metadata from the classpath
<MetadataProvider id="ClasspathResourceMetadata" xsi:type="ResourceBackedMetadataProvider" resourceRef="SpringResource"/>