Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • caseSensitive: A boolean flag that indicates whether the regular expression is case sensitive. Defaults to true.
  • sourceAttributeID: The ID of an attribute to split with the regular expression. (default value: ID of this attribute)
  • dependencyOnly: A boolean flag that indicates the attribute produced by this definition is used only by other resolver components and should never be released from the resolver. Defaults to false.
Code Block
xml
xml
titleRegex Split Attribute Definitionxml
<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.

Code Block
xml
xml
titleRegex Split Attribute Definition with Dependenciesxml
<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>