IdPv3: Problem with back references in mapped attribute definition

Cantor, Scott cantor.2 at osu.edu
Tue Mar 17 11:16:29 EDT 2015


On 3/17/15, 11:08 AM, "Jarno Huuskonen" <jarno.huuskonen at uef.fi> wrote:
>
>Does it work if you use <ad:ReturnValue>$1</ad:ReturnValue> ?
>
>I have something like this in attribute-resolver:
>        <ad:ValueMap>
>            <ad:ReturnValue>some_string_to_add_before_val:$1</ad:ReturnValue>
>            <ad:SourceValue>(.+)</ad:SourceValue>
>        </ad:ValueMap>
>
>and it works for me.

That's not a back reference, but I would expect that would work, or explicitly creating matches like
(value1)|(value2)|(value3)

-- Scott



More information about the users mailing list