basic:AttributeValueScope type matches attributes values against the supplied Java Regular Expression
basic:AttributeValueScope type can be a Matcher or a PolicyRequirement.
- If no
attributeIDattribute is specified then it is a Matcher (returning that value if it is present amongst the values, and the empty set otherwise)
- If an
attributeIDattribute is specified then it is a PolicyRule (returning true if that that is present amongst the values for the specified attribute).
basic:AttributeValueScope type is defined by the
urn:mace:shibboleth:2.0:afp:mf:basic schema, which can be located at http://shibboleth.net/schema/idp/shibboleth-afp-mf-basic.xsd.
Three attributes may be specified
|String||none||If this is present then this is a PolicyRule returning true if the attribute of this ID contains a value with matches|
If this is not present then this is a Matcher returning any value that match, and the empty set otherwise
|regex||Java RegExp||required||The regular expression to match against|
Apply this rule if the attribute "EPSA" contains at least one scope value whose scope ends .edu.
Add any scoped values of the attribute "uid" with scope ending ".edu" to its permitted values list.
Apply this rule if any attribute contains a scope value whose scope ends .edu
If the attribute "epsa" contains any scoped which starts ends .edu then release all values of "email" .