Prevent resolving all attributes?

Zmuda, Matthew R Matthew.R.Zmuda at td.com
Wed Jan 30 10:45:45 EST 2013


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.
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.

I have setup in my attribute-filer.xml a rule to release attributes only to the SP that should be getting them:

      <afp:AttributeFilterPolicy id="releaseToXYZ">
            <!-- Only release these attributes to the configured requester -->
            <afp:PolicyRequirementRule  xsi:type="basic:AttributeRequesterString" value="http://www.xyz.com" />

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:

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.
.......
10:20:39.409 - ERROR [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ScriptedAttributeDefinition:135] - ScriptletAttributeDefinition paramName unable to execute script
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

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.
I would expect if no attributes are requested, none should be resolved rather than if none are requested all try to resolve.

NOTICE: Confidential message which may be privileged. Unauthorized use/disclosure prohibited. If received in error, please go to www.td.com/legal for instructions.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130130/ab535b0d/attachment.html 


More information about the users mailing list