Marshaling eduPersonEntitlements
Cantor, Scott
cantor.2 at osu.edu
Wed Sep 2 14:29:25 EDT 2015
On 9/2/15, 2:18 PM, "users on behalf of Joel Levin" <users-bounces at shibboleth.net on behalf of joel.aaron.levin at gmail.com> wrote:
>It is not my day to be lucid - arg - I can only apologize - virtually!
>
>What I need is a conditional 'OR' for the 4th eduPersonEntitlement.
>
>i.e. eduPersonEmtitlement1 OR eduPersonEntitlement2 OR eduPersonEntitlement3 == eduPersonEntitlement4
Right, so you're computing it. As I said, a script basically. Most of us with lousy IDM systems do a fair amount of that.
It's JSR-numberIforget scripting, you can plug in a few scripting engines, default is a Javascript engine that has compatibility issues between Java 7 and 8, covered in the wiki in some depth.
You can't add values to an existing attribute that way. You stage the intermediate values in a separate attribute name, and then generate the "real" eduPersonEntitlement by copying the source values over to the new one in the script and then add your own.
-- Scott
More information about the users
mailing list