<div dir="ltr">Ok, then I'm confused by this example:<br><br><div class="" title="Hint: double-click to select code"><div class=""><code class=""><</code><code class="">AttributeResolver</code> <code class="">type</code><code class="">=</code><code class="">"Transform"</code> <code class="">source</code><code class="">=</code><code class="">"displayName"</code><code class="">></code></div><div class=""><code class=""> </code><code class=""><</code><code class="">Regex</code> <code class="">match</code><code class="">=</code><code class="">"^(.+) (.+)$"</code> <code class="">dest</code><code class="">=</code><code class="">"givenName"</code><code class="">>$1</</code><code class="">Regex</code><code class="">></code></div><div class=""><code class=""> </code><code class=""><</code><code class="">Regex</code> <code class="">match</code><code class="">=</code><code class="">"^(.+) (.+)$"</code> <code class="">dest</code><code class="">=</code><code class="">"sn"</code><code class="">>$2</</code><code class="">Regex</code><code class="">></code></div><div class=""><code class=""> </code><code class=""><</code><code class="">Regex</code> <code class="">match</code><code class="">=</code><code class="">"^(.+) (.+)$"</code><code class="">>$2, $1</</code><code class="">Regex</code><code class="">></code></div><div class=""><code class=""></</code><code class="">AttributeResolver</code><code class="">></code></div></div><br>It's almost the same thing I'm trying to achieve; splitting up displayName by a regex and return the values givenName and sn.<br><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 22, 2016 at 1:30 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="">> I would like to strip the multi-value mail attribute (urn:mace:dir:attribute-<br>
> def:mail) we're receiving from an IDP and only use the first value found.<br>
<br>
</span>Can't be done.<br>
<span class=""><br>
> What am I doing wrong here?<br>
<br>
</span>Attempting the impossible, and I think fundamentally mistaking the value in the header for the value in the attribute. The separated string is the result of combining all the values at the end, that doesn't exist to operate on before export to the application.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<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>
</font></span></blockquote></div><br></div></div>