attribute resolver script

Tom Poage tfpoage at ucdavis.edu
Tue Nov 22 14:04:26 EST 2016


To be fair, the wiki page on MappedAttributeDefinition does say “many-to-many”. That didn’t sink in on first read.

Tom.

On Nov 22, 2016, at 10:09 AM, Tom Poage <tfpoage at ucdavis.edu<mailto:tfpoage at ucdavis.edu>> wrote:

IdP 3.3.0

After reading arguments for using Mapped over Script in AttributeDefinition, I tried:

    <resolver:AttributeDefinition xsi:type="ad:Mapped" id=“foo" sourceAttributeID=“eduPersonAffiliation”>
. . .
    </resolver:AttributeDefinition>

I expected this to work like a CASE statement, but it returns both values (X and Y).

On one hand I can see why it might. Do I need Script to perform staff => X, any-other-value => Y, else empty?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161122/f6ff7fbc/attachment.html>


More information about the users mailing list