Upgrading to IDPV3, problems converting importPackage routines

Brent Putman putmanb at georgetown.edu
Thu May 5 16:04:01 EDT 2016

On 5/5/16 1:07 PM, Eric Wedaa wrote:
> If anybody can help I would greatly appreciate it.  (I'm sure it's something simple I'm missing, but I'm not a big Java person.)
>          <Script><![CDATA[
>               var BasicAttribute = Java.type("edu.internet2.middleware.shibboleth.common.attribute.provider.BasicAttribute");
>               firstname = new BasicAttribute("firstname");

Be sure to read the wiki section called "Semantic changes". You don't
just change the importPackage to Java.type(...).  In particular with
Nashorn you can't just 'new' a new attribute like that anymore in the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160505/ddea557e/attachment.html>

More information about the users mailing list