ScriptedAttribute: is there a coding guide (Objects/Classes/methods and for loops)?
Peter Schober
peter.schober at univie.ac.at
Fri Jul 30 12:17:28 UTC 2021
* Paul Fardy <paul.fardy at utoronto.ca> [2021-07-29 22:08]:
> My immediate want is to copy an attribute and then add values. How
> do I copy-assign from one attribute to another? I want the IdP to
> enhance our eduPersonAffiliation so it expressly asserts some POSET
> rules. e.g.
>
> staff → employee
> student → member
You don't need scripting at all for such simple cases, a Mapped
attribute definition suffices. See the Shib wiki or these 3rd party
examples:
https://wiki.univie.ac.at/display/federation/IDP+4+Attribute+resolution#IDP4Attributeresolution-eduPersonScopedAffiliation
-peter
More information about the users
mailing list