Scripted Modification to eduPersonAffiliation
Michael Dahlberg
olgamirth at gmail.com
Wed Jan 3 14:09:18 EST 2018
Thank you very much, Scott. That answers all my questions.
I was not expecting an answer from you given Shibboleth's new support
policy, but its very much appreciated.
Thanks again,
Mike
On Wed, Jan 3, 2018 at 1:57 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 1/3/18, 1:05 PM, "users on behalf of Michael Dahlberg" <
> users-bounces at shibboleth.net on behalf of olgamirth at gmail.com> wrote:
>
> > (1) I've looked for some documentation on the scripting engine within
> the IdP and there does not look like there is
> > much.
>
> It's not *our* scripting engine, it's Java's. There is quite a bit of
> documentation our there for the two Javascript engines, I refer to the
> Rhino and Nashorn docs quite a lot.
>
> > Other than that found in https://wiki.shibboleth.net/
> confluence/display/IDP30/ScriptedAttributeDefinition,
> > would you be able to point me in the direction of some
> examples/descriptions of the functions?
>
> Our API is documented with published javadocs, and we have links as much
> as possible from the wiki documentation back into the relevant docs that
> cover the Java classes. Given a Java object in hand it's not anything
> special to use the object's methods from Javascript. It's accessing class
> objects and static methods that can be a bit ugly.
>
> > (2) From the examples in the default attribute-resolver.xml file, it
> looks like the add("") function overwrites the existing
> > values. Does the addValues("") function append a value to the existing
> value?
>
> It adds a value to the existing collection of values. Has no effect on
> existing values.
>
> > (3) If ePA is multi-valued, what would the resulting attributes be for
> eduPersonScopedAffiliation:
> > (student,member at example.edu) or (student at example.edu,member at example.edu
> )?
>
> The latter.
>
> -- Scott
>
>
> --
> For Consortium Member technical support, see https://wiki.shibboleth.net/
> confluence/x/coFAAg
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20180103/aeeac591/attachment.html>
More information about the users
mailing list