Namespace: urn:mace:shibboleth:2.0:metadata
Schema: http://shibboleth.net/schema/idp/shibboleth-metadata.xsd
Table of Contents |
---|
Overview
The <AttributeFilterScript>
element contains a script (or a reference to a script) that ultimately applies an implementation of Predicate
<
Attribute
>
to a given entity attribute. The containing filter implicitly iterates over all entity attributes in the metadata pipeline. For each entity attribute, the entity attribute is removed from the input stream if (and only if) the predicate evaluates to false.
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Script Context
Name | Type | Description |
---|---|---|
| The Attribute to evaluate for exclusion | |
| any | A custom object to inject into the script |
Examples
The following trivial implementation of Predicate
<
Attribute
>
always returns false regardless of the input
argument:
A trivial implementation of Predicate<Attribute>
Code Block | ||||
---|---|---|---|---|
| ||||
<AttributeFilterScript> <Script> <![CDATA[ false; ]]> </Script> </AttributeFilterScript> |
...