The SchemaValidation
filter allows the validation of the provided metadata against any XML schema.
Attributes
The only specifiable attribute is "schemaBuilderRef
" which is the identification of a Spring bean which implements or extends org.opensaml.saml.common.xml.SAMLSchemaBuilder. If this attribute is not specified then the globally defined bean called shibboleth.SchemaBuilder
is used.
In V3.0 this bean is missing and should be added to the conf/global.xml
file as follows:
<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 child element <ExtensionSchema>
is deprecated.