Overview

The Value (basic:AttributeValueString prior to V3.2) type compares attributes values against the supplied string.

Confusingly, this type can be a Matcher or a PolicyRule.

Schema Name

The Value type is defined in the urn:mace:shibboleth:2.0:afp namespace, the schema for which can be located at http://shibboleth.net/schema/idp/shibboleth-afp.xsd

Attributes

Three attributes may be specified

NameTypeDefaultDescription
attributeID 
StringnoneIf this is present, then this is a PolicyRule returning true if the matching attribute contains the supplied value.
If this is not present, then this is a Matcher returning that value if it is present amongst the values, and the empty set otherwise.
value
StringrequiredThe value to match against
ignoreCase
BooleantrueWhether the matching is case insensitive

Child Elements

None

Examples

<PolicyRequirementRule xsi:type="Value" value="jsmith" attributeID="uid"/>

Apply this rule if the attribute "uid" contains a value "jsmith"

<AttributeRule attributeID="uid">
   <PermitValueRule xsi:type="Value" value="jsmith" ignoreCase="true" />
</AttributeRule>

If the attribute "uid" contains the value "jsmith" then add "jsmith to the permitted values to be release for "uid"

<PolicyRequirementRule xsi:type="Value" value="jsmith"/>

Apply this rule if any attribute contains a value "jsmith"

<AttributeRule attributeID="email">
   <PermitValueRule xsi:type="Value" value="jsmith" ignoreCase="true" attributeID="uid"/>
</AttributeRule>

If the attribute "uid" contains the value "jsmith" then release all values of "email" .