Page tree
Skip to end of metadata
Go to start of metadata

The InlineMetadataProvider allows the static specification of SAML2 Metadata inside the Metadata provider.

Schema Names and location

The <MetadataProvider> element and the defining type (InlineMetadataProvider) are defined by the urn:mace:shibboleth:2.0:metadata schema which can be located at  http://shibboleth.net/schema/idp/shibboleth-metadata.xsd.  

the SAML Metadata is defined by the urn:oasis:names:tc:SAML:2.0:metadata schema which can be located at http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsd.

Attributes

Any of the common attributes can be specified.

Child Elements

Any of the common child elements, followed by exactly one of a <saml:EntityDescriptor> or a <saml:EntitiesDescriptor> can be specified.

Examples

Inline EntityDescriptor
<MetadataProvider xmlns:samlmd="urn:oasis:names:tc:SAML:2.0:metadata" id="exampleInLineEntity" xsi:type="InlineMetadataProvider" sortKey="1">
	<samlmd:EntityDescriptor ID="entity" entityID="https://app.example.org/sp">
        <!-- Details removed -->
      	<samlmd:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
			<samlmd:AssertionConsumerService
				Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
				Location="https://sp.example.org/Shibboleth.sso/SAML2/POST"
				index="1" />
        <!-- More details removed -->
	</samlmd:EntityDescriptor>
</MetadataProvider>
Inline EntitiesDescriptor
<MetadataProvider xmlns:samlmd="urn:oasis:names:tc:SAML:2.0:metadata" id="exampleInLineEntities" xsi:type="InlineMetadataProvider">
	<samlmd:EntitiesDescriptor>
		<samlmd:EntityDescriptor ID="uk001502" entityID="https://wiki.example.org/sp">
            <!-- Details removed -->
			<samlmd: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" />
			</samlmd:SPSSODescriptor>
            <!-- More details removed -->
		</samlmd:EntityDescriptor>
        <!-- Further EntityDescriptors removed -->
	</samlmd:EntitiesDescriptor>
</MetadataProvider>
  • No labels