aacli Scripted attribute

Peter Schober peter.schober at univie.ac.at
Thu Oct 29 11:54:50 EDT 2015


* Athanasios Douitsis <aduitsis at gmail.com> [2015-10-29 16:51]:
>                  <Script><![CDATA[
>                     var BasicAttribute = Java.type("edu.internet2.middleware.shibboleth.common.attribute.provider.BasicAttribute");
>                     if (null == testing) testing = new BasicAttribute("testing");
>                     testing.getValues().add("whatever");
>                 ]]></Script>

You don't need the first two lines of that.
The v3 wiki has documentation on the Rhino/Nashorn changes
specifically, plus simple examples for Nashorn/Java8 at the end.
-peter


More information about the users mailing list