AttributeResolver Transform existing attribute of SP
Vincent Lombard
vincent.lombard at univ-lyon.org
Mon Nov 14 04:38:53 EST 2016
Hi All,
I’d like to transform email attribute for a specific domain in a Shibboleth SP.
ex:
john.smith at myolddomain.com <mailto:john.smith at myolddomain.com> -> john.smith at mynewdomain.com <mailto:john.smith at mynewdomain.com>
I’ve tried the following filter
<AttributeResolver type="Transform" source="mail">
<Regex match="^(.+)@myolddomain.com <mailto:john.smith at myolddomain.com>$" dest="mail">$1 at mynewdomain.comr <mailto:1 at univ-lyon1.fr>mynewdomain.com <mailto:john.smith at myolddomain.com>r</Regex>
</AttributeResolver>
But the result is a multivalued attribute with the original mail value ??
mail = john.smith at mynewdomain.com <mailto:john.smith at mynewdomain.com>;john.smith at myolddomain.com <mailto:john.smith at myolddomain.com>
How can i get rid of the original mail value ?
Regards,
╔ ═ ═ ═ ═ ═ ═ ╗
║ Vincent Lombard |
╚ ═ ═ ═ ═ ═ ═ ╝
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161114/cff983b9/attachment-0001.html>
More information about the users
mailing list