Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Namespace and Schema

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

Reference

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.

...