<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns0="urn:schemas-microsoft-com:office:smarttags"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I am in the process of adding a new service provider to our IDP. We have 1 active SP using our IDP today which does not request any specific attributes, we simply release a principal.<o:p></o:p></p><p class=MsoNormal>The new SP however does require us to release some additional information. Now I have noticed an issue with the existing SP where shibboleth tries to resolve all attributes for both SP’s.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have setup in my attribute-filer.xml a rule to release attributes only to the SP that should be getting them:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:teal'> <afp:AttributeFilterPolicy id="releaseToXYZ"><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:teal'> <!-- Only release these attributes to the configured requester --><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:teal'> <afp:PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="http://www.xyz.com" /><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This works in the sense that the attributes are only being release to the SP I expect them to be released to, but I am getting error message logged for the other SP which should not be getting the values:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>10:20:39.401 - DEBUG [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver:275] - Specific attributes for principal XYZ123 were not requested, resolving all attributes.<o:p></o:p></p><p class=MsoNormal>…….<o:p></o:p></p><p class=MsoNormal>10:20:39.409 - ERROR [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ScriptedAttributeDefinition:135] - ScriptletAttributeDefinition paramName unable to execute script<o:p></o:p></p><p class=MsoNormal>10:20:39.410 - WARN [edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileHandler:478] - Error resolving attributes for principal ' XYZ123 '. No name identifier or attribute statement will be included in response<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is there anything I can do about this? I don’t want to release these values to our existing SP, that is what I have the rule set out in attribute-filer.<o:p></o:p></p><p class=MsoNormal>I would expect if no attributes are requested, none should be resolved rather than if none are requested all try to resolve.<o:p></o:p></p></div><p><FONT FACE="Arial" style="font-size:8pt;"><br />
NOTICE: Confidential message which may be privileged. Unauthorized use/disclosure prohibited. If received in error, please go to www.td.com/legal for instructions.<br />
AVIS : Message confidentiel dont le contenu peut être privilégié. Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière d'aller au www.td.com/francais/avis_juridique pour des instructions.</FONT></p>
</body></html>