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

ValueConfiguration

Namespace: urn:mace:shibboleth:2.0:afp
Schema: http://shibboleth.net/schema/idp/shibboleth-afp.xsd

Overview

The Value type compares attributes values against the supplied string.

This type can be a Matcher or a PolicyRule.

  • If no attributeID attribute is specified then it is a Matcher (returning that value if it is present amongst the values of the attribute being filtered, and the empty set otherwise).

  • If an attributeID attribute is specified then it is a PolicyRule (returning true if that that is present amongst the values for the specified attribute).

Reference

Name

Type

Default

Description

Name

Type

Default

Description

attributeID 

String

 

If 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

String

 

Required, the value to match against

caseSensitive

Boolean

false

Optional, specifies how to perform the comparison

Examples

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

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

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

Simple Matcher
<AttributeRule attributeID="uid"> <PermitValueRule xsi:type="Value" value="jsmith" caseSensitive="false" /> </AttributeRule>

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

Compound PolicyRule (deprecated)
<PolicyRequirementRule xsi:type="Value" value="jsmith"/>

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

Compound Matcher (deprecated)