The Shibboleth IdP V4 software will leave support on September 1, 2024.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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

Overview

The RegexpSplit 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

Example

<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>

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".

  • No labels