IdPv3: Problem with back references in mapped attribute definition
Cantor, Scott
cantor.2 at osu.edu
Tue Mar 17 10:58:21 EDT 2015
On 3/17/15, 10:54 AM, "Etienne Dysli-Metref" <etienne.dysli-metref at switch.ch> wrote:
> <ad:ValueMap>
> <ad:ReturnValue>\\1</ad:ReturnValue>
> <ad:SourceValue>(staff|student|faculty|employee)</ad:SourceValue>
> </ad:ValueMap>
></resolver:AttributeDefinition>
>
>For an initial value of "student", I get two values: "member" and "\1"
>but I would like "member" and "student". So are back references really
>supported or am I doing this wrong?
I have no idea, but since "\" normally escapes a backslash in a Java regex, I would expect "\\1" to return "\1".
-- Scott
More information about the users
mailing list