/
RegexSplitAttributeDefinition

RegexSplitAttributeDefinition

eNamespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

Overview

The 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

Name

Type

Req?

Default

Description

Name

Type

Req?

Default

Description

regex

Pattern

Y

 

Provides the regular expression to apply

caseSensitive

Boolean

 

false

Whether the match is case sensitive or not

 

Example

<AttributeDefinition id="exampleRegexp" xsi:type="RegexSplit" regex="Pre-(.+)-Post"> <InputDataConnector ref="myLDAP" attributeNames="uid" /> </AttributeDefinition>

If this definition was supplied with an attribute with the input values "Fred", "Pre-And-Post", it would produce an output attribute with one value "And".

Related content

AttributeDefinitionConfiguration
AttributeDefinitionConfiguration
More like this
AttributeRegistryConfiguration
AttributeRegistryConfiguration
Read with this
RegexSplitAttributeDefinition
RegexSplitAttributeDefinition
More like this
SAML2StringEncoder
SAML2StringEncoder
Read with this
RegexSplitAttributeDefinition
RegexSplitAttributeDefinition
More like this
FunctionAuthnConfiguration
FunctionAuthnConfiguration
Read with this