<div dir="ltr">Thank you very much, Scott.  That answers all my questions.<div><br></div><div>I was not expecting an answer from you given Shibboleth's new support policy, but its very much appreciated.</div><div><br></div><div>Thanks again,</div><div>Mike</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 1:57 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 1/3/18, 1:05 PM, "users on behalf of Michael Dahlberg" <<a href="mailto:users-bounces@shibboleth.net">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:olgamirth@gmail.com">olgamirth@gmail.com</a>> wrote:<br>
<br>
>  (1) I've looked for some documentation on the scripting engine within the IdP and there does not look like there is<br>
> much.<br>
<br>
</span>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.<br>
<span class=""><br>
> Other than that found in <a href="https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/<wbr>confluence/display/IDP30/<wbr>ScriptedAttributeDefinition</a>,<br>
> would you be able to point me in the direction of some examples/descriptions of the functions?<br>
<br>
</span>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.<br>
<span class=""><br>
> (2) From the examples in the default attribute-resolver.xml file, it looks like the add("") function overwrites the existing<br>
> values.  Does the addValues("") function append a value to the existing value?<br>
<br>
</span>It adds a value to the existing collection of values. Has no effect on existing values.<br>
<span class=""><br>
> (3) If ePA is multi-valued, what would the resulting attributes be for eduPersonScopedAffiliation:<br>
> (student,<a href="mailto:member@example.edu">member@example.edu</a>) or (<a href="mailto:student@example.edu">student@example.edu</a>,<a href="mailto:member@example.edu">member@<wbr>example.edu</a>)?<br>
<br>
</span>The latter.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<br>
<br>
<br>
--<br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/<wbr>confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</font></span></blockquote></div><br></div>