<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I think a default setting changed. Try setting either isRequired="true" in the RequestedAttribute element, or onlyIfRequired="false" in the PermitValueRule.
<div class=""><br class="">
</div>
<div class="">Tom.</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 20, 2017, at 5:05 AM, Jukka Hakosalo <<a href="mailto:jhakosal@gmail.com" class="">jhakosal@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Thanks Peter but I think the resolver is ok. SP gets "sn" if it's type is "ANY", not "attributeInMetadata".<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, Dec 20, 2017 at 2:38 PM, Peter Schober <span dir="ltr" class="">
<<a href="mailto:peter.schober@univie.ac.at" target="_blank" class="">peter.schober@univie.ac.at</a>></span> wrote:<br class="">
<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" class="">jhakosal@gmail.com</a>> [2017-12-20 04:49]:<br class="">
<span class="">> this example only mail and eppn are released. What's wrong with<br class="">
> AttributeInMetadata? Idp ignores it. Log shows no error.<br class="">
</span>[...]<br class="">
<span class="">> <AttributeRule attributeID="sn"><br class="">
>     <PermitValueRule xsi:type="AttributeInMetadata" /><br class="">
> </AttributeRule><br class="">
</span>[...]<br class="">
<span class="">>         <md:RequestedAttribute FriendlyName="sn" Name="urn:oid:2.5.4.4"<br class="">
> NameFormat="urn:oasis:names:<wbr class="">tc:SAML:2.0:attrname-format:<wbr class="">uri"/><br class="">
</span></blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>