Namespace: urn:mace:shibboleth:2.0:metadata
Schema: http://shibboleth.net/schema/idp/shibboleth-metadata.xsd
Overview
The ChainingMetadataProvider
is a container for an ordered sequence of metadata providers of any type. When conducting a search, the metadata resolver consults each child provider in the order in which it is listed. See the parent topic for a detailed description of the search ordering algorithm used by the metadata resolver.
Reference
Examples
Here is a brief summary of the examples in this section:
- Example 1: A traditional configuration using
FilesystemMetadataProvider
for local metadata andFileBackedHTTPMetadataProvider
for federation metadata - Example 2: A "no touch" configuration using
LocalDynamicMetadataProvider
for local metadata andFileBackedHTTPMetadataProvider
for federation metadata - Example 3: A completely dynamic configuration using
LocalDynamicMetadataProvider
for local metadata andDynamicHTTPMetadataProvider
for federation metadata
The following example illustrates one or more providers of type FilesystemMetadataProvider
followed by a single FileBackedHTTPMetadataProvider
:
In the above example, local metadata is loaded before externally resolved federation metadata. This prevents federation metadata from accidentally overriding local metadata sources.
The following example is similar to the previous example except that multiple providers of type FilesystemMetadataProvider
have been replaced with a single LocalDynamicMetadataProvider
:
In the above example, all local metadata is handled by a single LocalDynamicMetadataProvider
. In this way, new local metadata may be added to the system without touching the configuration.
The following example is similar to the previous example except that the provider of type FileBackedHTTPMetadataProvider
has been replaced with a DynamicHTTPMetadataProvider
:
In the above example, federation metadata is sourced as needed (i.e., dynamically). This avoids having to load a large metadata aggregate.
Avoid redundant providers in the chain
FileBackedHTTPMetadataProvider
(Example #2) or a DynamicHTTPMetadataProvider
(Example #3) but not both. Assuming the same set of entities are represented in each case, the two approaches are mutually exclusive.