This attribute definition creates its individual values by splitting an existing source attribute's values using a regular expression.
The definition is created with the element <resolver:AttributeDefinition xsi:type="RegexSplit" xmlns="urn:mace:shibboleth:2.0:resolver:ad">
with the following required attributes:
and an optional attribute:
true
.false
.<resolver:AttributeDefinition xsi:type="RegexSplit" xmlns="urn:mace:shibboleth:2.0:resolver:ad" id="UNIQUE_ID" sourceAttributeID="ATTRIBUTE_ID" regex="REGULAR_EXPRESSION"> <!-- Remaining configuration from the next step goes here --> </resolver:AttributeDefinition> |
You must express, as a dependency, the attribute definition or data connector that produces the source attribute. Dependencies are declared using a <resolver:Dependency>
with a ref
attribute whose value is the unique ID of the dependent attribute definition or the data connector.
<resolver:AttributeDefinition xsi:type="RegexSplit" xmlns="urn:mace:shibboleth:2.0:resolver:ad" id="UNIQUE_ID" sourceAttributeID="ATTRIBUTE_ID" regex="REGULAR_EXPRESSION"> <resolver:Dependency ref="DEFINITION_ID_1" /> </resolver:AttributeDefinition> |