The Shibboleth IdP V3 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP4 wiki space for current documentation on the supported version.

SchemaValidationFilter

The SchemaValidation filter allows the validation of the provided metadata against an XML schema. Note that while schema validation can catch a variety of errors in metadata, it is not sufficient to prevent all possible sources of error because XSD isn't expressive enough in practice to describe all requirements of the standard. Metadata sources should be limited to trustworthy publishers whether this filter is used or not.

Schema

The <MetadataFilter> element and the type SchemaValidation are defined by the urn:mace:shibboleth:2.0:metadata schema, which can be located at http://shibboleth.net/schema/idp/shibboleth-metadata.xsd.

Attributes

The only supported attribute is  schemaBuilderRef, which is the ID of a Spring bean which implements or extends SAMLSchemaBuilder. If this attribute is not specified, then the globally defined bean called shibboleth.SchemaBuilder is used.

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 only defined, child element, <ExtensionSchema>, is DEPRECATED.

Examples

SAML Schema Validation
<metadata:MetadataFilter xsi:type="metadata:SchemaValidation" />