<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>You can create a new scripted attribute in the IdP attribute resolver based on mail. If you encode it as mail, the SPs to which you release that attribute will see single valued mail attribute.<br><br><a href="mailto:David.Bantz@me.com">David.Bantz@me.com</a><div>David.Bantz<span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(175, 192, 227, 0.231373); -webkit-composition-frame-color: rgba(77, 128, 180, 0.231373); ">@<a href="http://alaska.edu">Alaska.edu</a></span><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);"><br></span></div></div></div><div><br>On Mar 22, 2016, at 06:18, Wesley Schaft <<a href="mailto:wesley.schaft@gmail.com">wesley.schaft@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div>Ok, that's why I said "almost the same thing" ;)<br></div><br></div>So if I understand correctly, this can't be achieved because our Shib-email attribute is multi-value?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 22, 2016 at 2:59 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> <AttributeResolver type="Transform" source="displayName"><br>
>     <Regex match="^(.+) (.+)$" dest="givenName">$1</Regex><br>
>     <Regex match="^(.+) (.+)$" dest="sn">$2</Regex><br>
>     <Regex match="^(.+) (.+)$">$2, $1</Regex><br>
> </AttributeResolver><br>
><br>
> It's almost the same thing I'm trying to achieve; splitting up displayName by a<br>
> regex and return the values givenName and sn.<br>
<br>
</span>Taking one value of an attribute and turning it into two new attributes. That isn't at all the same thing. A rule operates on one value at a time, always.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a></span></div></blockquote></body></html>