...
Overview
The RegexpSplit
RegexSplit
AttributeDefinition produces its values by applying a Java regular expression to each of the input values. For every input value that matches, the first match group is added as a new output value.
Reference
Localtabgroup |
localtab-live Expand |
---|
title | Specific XML Attributes |
---|
|
RequredReq? | Default | Description |
---|
regex | Pattern | Y | | Provides the regular expression to apply | caseSensitive | Boolean | | false | Whether the match is case sensitive or not |
localtab-live |
Expand |
---|
title | Common XML Attributes |
---|
|
Include Page |
---|
| AttributeDefinitionCommonAttributes |
---|
| AttributeDefinitionCommonAttributes |
---|
| localtab-live
|
Expand |
---|
|
Include Page |
---|
| AttributeDefinitionCommonChildElements |
---|
| AttributeDefinitionCommonChildElements |
---|
|
|
Example
Code Block |
---|
|
<AttributeDefinition id="exampleRegexp" xsi:type="RegexSplit" regex="Pre-(.+)-Post">
<InputDataConnector ref="myLDAP" attributeNames="uid" />
<AttributeEncoder xsi:type="SAML2String" name="http://example.org/example" friendlyName="regexp"/>
</AttributeDefinition> |
...