how to reference an existing attribute in resolver.xml
Nate Klingenstein
ndk at internet2.edu
Thu Jun 27 14:13:23 EDT 2013
Yi,
I'm not quite following your use case.
If you just want to release the same attribute data under a different SAML attribute name, then have a copy of the eppn definition with the AttributeEncoder changed to the new SAML name and an ID for the definition(eppnForSpecialSP or whatever). Then set up an attribute filter to release eppnForSpecialSP to that SP.
It's good to encourage use of standard attribute names rather than doing custom stuff for each SP, of course, but I assume you've talked to them already about that.
If you're trying to accomplish something else, please elaborate.
Thanks,
Nate.
On Jun 27, 2013, at 18:05 , Qian, Yi wrote:
> Hello,
>
> I have eppn defined, (just using eppn as example) but I would like release to some SP as a new attribute
> So I define
> <resolver:AttributeDefinition xsi:type="ad:Simple" id="myId" sourceAttributeID="eppn">
> <resolver:Dependency ref="eppn" />
> </resolver:AttributeDefinition>
> In filter.xml
> <afp:AttributeFilterPolicy>
> <afp:PolicyRequirementRule xsi:type="basic:AttributeRequesterString"
> value="sp" />
> <afp:AttributeRule attributeID="myId">
> <afp:PermitValueRule xsi:type="basic:ANY" />
> </afp:AttributeRule>
> </afp:AttributeFilterPolicy>
> It doesn't work, do I need to add some type of data connector? But I looked at wiki, seems none of them fit in
>
> Yi
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list