Shibboleth 2.4.4 and problems with scripts.
Rod Widdowson
rdw at steadingsoftware.com
Mon Nov 30 07:44:03 EST 2015
You are using Java8, but your script is targeted against Java7. The Java
upgrade 7->8 broke JavaScript.
> 11:36:09.029 - ERROR
>
[edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attr
i
> buteDefinition.ScriptedAttributeDefinition:136]
> - ScriptletAttributeDefinition eduPersonEntitlement unable to execute
> script
> javax.script.ScriptException: ReferenceError: "importPackage" is not
> defined in <eval> at line number 1
> at
This is documented in the Wiki (better under IdP3 than 2, but this is not an
IdP issue, it’s a Java issue). My suggestion would be to deploy rhino if you
have legacy scripts or learn Nashorn otherwise (one less external dependency
to worry about)
/R
More information about the users
mailing list