My Oracle Support Banner

OUD Attribute Transformations Configured with a Regular Expression Can Only Concatenate Values (Doc ID 2131139.1)

Last updated on APRIL 26, 2021

Applies to:

Oracle Unified Directory - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Goal

Use a regular expression to generate a new attribute that contains only a subset of the original attribute value (by removing a specific value at the beginning of an attribute to generate a new one)

For example :

^{crypt}(.*)

where the new attribute contains only the password without the beginning of the string "{crypt}" (in this example).

The documentation refers to using regular expressions -

12.6.2.3.3 Regular Expressions

but the regular expression example shown:

client-attribute:mail={%cn%.%sn%@<DN.COM>}

does not help in this case since it concatenates values, rather than creating a new value with a subset of another attribute value.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.