IdPv3: Problem with back references in mapped attribute definition

Etienne Dysli-Metref etienne.dysli-metref at switch.ch
Tue Mar 17 11:52:14 EDT 2015


On 17/03/15 16:08, Jarno Huuskonen wrote:
> Does it work if you use <ad:ReturnValue>$1</ad:ReturnValue> ?
It does, thanks Jarno! :)

I found the explanation in the javadoc for
java.util.regex.Matcher.replaceAll(String)

> Note that backslashes (\) and dollar signs ($) in the replacement
> string may cause the results to be different than if it were being
> treated as a literal replacement string. Dollar signs may be treated
> as references to captured subsequences as described above, and
> backslashes are used to escape literal characters in the replacement
> string.
http://docs.oracle.com/javase/7/docs/api/java/util/regex/Matcher.html#replaceAll%28java.lang.String%29

  Etienne

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://shibboleth.net/pipermail/users/attachments/20150317/2b421bad/attachment.bin 


More information about the users mailing list