Versions Compared

Key

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

Namespace: urn:mace:shibboleth:2.0:metadata
Schema: http://shibboleth.net/schema/idp/shibboleth-metadata.xsd

Table of Contents

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.

...

Expand
titleSpecific XML Attributes

Name

Type

Req?

Description

resourceRef

Bean ID

Y

Bean ID of a Spring Resource

Expand
titleSpecific XML Attributes
Include Page
MetadataProviderCommonAttributes
MetadataProviderCommonAttributes
Expand
titleReloading XML Attributes
Include Page
MetadataProviderReloadingAttributes
MetadataProviderReloadingAttributes
Expand
titleCommon XML Elements
Include Page
MetadataProviderChildElements
MetadataProviderChildElements

Examples

The following example loads metadata from the supplied bean

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