Versions Compared

Key

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

...

Note
titleFilter order is important!

This filter changes the content of the metadata and so a filter of type Predicate should appear after any SignatureValidationFilter in the overall sequence of filters.

...

Schema

The <MetadataFilter> element and the type Predicate 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

NameTypeDefaultDescription

direction

"include" or "exclude"

This attribute must be set to either "include" or "exclude"

If set to "include", then all entities that match the predicate are included in the result (all other entities are excluded)

If set to "exclude", then all entities that match the predicate are excluded from the result (all other entities are included)

conditionRef

Bean Refererence

If present, the value of this attribute is the (Spring) ID of a Predicate<EntityDescriptor> to execute on each entity in the metadata being filtered.

If this attribute is not present, then the child elements are used to construct an implicit predicate as described below.

trim

boolean
This attribute is required if a <Tag> element appears; it controls whether leading and trailing whitespace is to be stripped from the each <Tag> element's content.

removeEmptyEntitiesDescriptors

booleanfalseIf the value of this attribute is true, then any <EntitiesDescriptor> element that becomes empty as a result of the filter is removed.

Child Elements

If the conditionRef attribute is specified, then only it is used and any child elements are ignored. Otherwise the condition is constructed as one that returns true if:

...