The SchemaValidation
filter allows the validation of the provided metadata against any an XML schema.
Namespace and Schema
The SchemaValidation
type is defined in the urn:mace:shibboleth:2.0:metadata
namespace, the schema for which can be located at http://shibboleth.net/schema/idp/shibboleth-metadata.xsd
Reference
Attributes
The only specifiable supported attribute is "is schemaBuilderRef
" , which is the identification ID of a Spring bean which implements or extends org.opensaml.saml.common.xml.SAMLSchemaBuilder. If If this attribute is not specified, then the globally defined bean called shibboleth.SchemaBuilder is used.
...
.
...
...
<bean id="shibboleth.SchemaBuilder" class="org.opensaml.saml.common.xml.SAMLSchemaBuilder" c:ver="SAML_11" />
This issue was corrected in v3.1.0.
This will validate against SAML 2.0, SAML 1.1 and many popular metadata extension schemas such as MDATTR, MDUI and MDRPI.
Child Elements
The use of only defined, child element, <ExtensionSchema>
, is deprecatedDEPRECATED.
Examples
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<metadata:MetadataFilter xsi:type="metadata:SchemaValidation" /> | ||||||
Code Block | ||||||
| ||||||
tbd |