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 InlineMetadataProvider allows the static specification of SAML metadata inside the configuration itself.

...

Expand
titleXML Elements

Exactly one of the <md:EntityDescriptor> or <md:EntitiesDescriptor> child elements is required. See the SAML 2.0 Metadata specification and/or our documentation for more information about these elements.

Name

Cardinality

Description

<MetadataFilter>

0 or more

A metadata filter applied to candidate metadata as it flows through the metadata pipeline

<md:EntityDescriptor>

0 or 1

Specifies the metadata for a single entity

<md:EntitiesDescriptor>

0 or 1

Specifies the metadata for two or more entities

Expand
titleCommon XML Attributes
Include Page
MetadataProviderCommonAttributes
MetadataProviderCommonAttributes

Examples

The following example specifies SAML metadata whose top-level element is an <md:EntityDescriptor> element:

xmlcollapsetrue
Code Block
language
Expand
titleInline EntityDescriptor
Code Block
language
xml
<MetadataProvider xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" id="exampleInLineEntity" xsi:type="InlineMetadataProvider" sortKey="1">
	<!-- Details removed -->
	<md:EntityDescriptor ID="entity" entityID="https://app.example.org/sp">
      	<md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
			<md:AssertionConsumerService
				Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
				Location="https://sp.example.org/Shibboleth.sso/SAML2/POST"
				index="1" />
        </md:SPSSODescriptor>
	</md:EntityDescriptor>
</MetadataProvider>

The following example specifies SAML metadata whose top-level element is an <md:EntitiesDescriptor> element:

xmlcollapsetrue
Code Block
language
Expand
titleInline EntitiesDescriptor
Code Block
language
xml
<MetadataProvider xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" id="exampleInLineEntities" xsi:type="InlineMetadataProvider">
	<!-- Details removed -->
	<md:EntitiesDescriptor>
		<md:EntityDescriptor ID="uk001502" entityID="https://wiki.example.org/sp">
			<md:SPSSODescriptor
				protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
				<saml:AssertionConsumerService
					Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
					Location="https://sp.example.org/Shibboleth.sso/SAML2/POST"
					index="1" />
			</md:SPSSODescriptor>
		</md:EntityDescriptor>
        <!-- Further EntityDescriptors removed -->
	</md:EntitiesDescriptor>
</MetadataProvider>