<div dir="ltr">Thank you Tom and Peter! "onlyIfRequired" solved the case.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 20, 2017 at 3:32 PM, Tom Poage <span dir="ltr"><<a href="mailto:tfpoage@ucdavis.edu" target="_blank">tfpoage@ucdavis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
I think a default setting changed. Try setting either isRequired="true" in the RequestedAttribute element, or onlyIfRequired="false" in the PermitValueRule.
<span class="HOEnZb"><font color="#888888"><div><br>
</div>
<div>Tom.</div></font></span><span class="">
<div><br>
<div>
<blockquote type="cite">
<div>On Dec 20, 2017, at 5:05 AM, Jukka Hakosalo <<a href="mailto:jhakosal@gmail.com" target="_blank">jhakosal@gmail.com</a>> wrote:</div>
<br class="m_301787630830014285Apple-interchange-newline">
<div>
<div dir="ltr">Thanks Peter but I think the resolver is ok. SP gets "sn" if it's type is "ANY", not "attributeInMetadata".<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Dec 20, 2017 at 2:38 PM, Peter Schober <span dir="ltr">
<<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Jukka Hakosalo <<a href="mailto:jhakosal@gmail.com" target="_blank">jhakosal@gmail.com</a>> [2017-12-20 04:49]:<br>
<span>> this example only mail and eppn are released. What's wrong with<br>
> AttributeInMetadata? Idp ignores it. Log shows no error.<br>
</span>[...]<br>
<span>> <AttributeRule attributeID="sn"><br>
> <PermitValueRule xsi:type="AttributeInMetadata" /><br>
> </AttributeRule><br>
</span>[...]<br>
<span>> <md:RequestedAttribute FriendlyName="sn" Name="urn:oid:2.5.4.4"<br>
> NameFormat="urn:oasis:names:tc<wbr>:SAML:2.0:attrname-format:uri"<wbr>/><br>
</span></blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</span></div>
<br>--<br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/<wbr>confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br></blockquote></div><br></div>