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

Last updated on MAY 18, 2016

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 case).


The documentation refers to using regular expressions -

12.6.2.3.3 Regular Expressions - http://docs.oracle.com/cd/E49437_01/admin.111220/e22648/proxy_functionality.htm#BGBDADCC

but the regular expression example shown:

client-attribute:mail={%cn%.%sn%@mycompany.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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms