MappedAttributeDefinition - Conditional Logic

Nate Klingenstein ndk at signet.id
Tue Oct 9 01:07:07 EDT 2018


Joshua,

 
It's certainly possible to have 2 source attributes:

 
https://wiki.shibboleth.net/confluence/display/IDP30/MappedAttributeDefinition

 
But I think there's an implicit OR rule applied to the set.  The example sounds like you want an AND rule applied to the two source values.

 
You also wouldn't get 0 returned unless you defined a second ValueMap for 0 with obverse conditions; you'd get no value at all.

 
I would just write a simple ScriptedAttributeDefinition instead.


Hope this helps,

Nate.

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


More information about the users mailing list