Shibboleth IDP Upgrade from V4.0.1 to V4.1.2
Reddimalli, Anusha
REDDIMAA at mailbox.sc.edu
Thu Jun 17 14:53:26 UTC 2021
I have upgraded Shibboleth from V4.0.1 to V4.1.2. I am using jdk-11.0.11.
Application started successfully. When I try to test an SSO login I got below error.
.RuntimeException: javax.script.ScriptException: ReferenceError: "importPackage" is not defined in <eval> at line number 3
So I have added ' load("nashorn:mozilla_compat.js");' At the beginning of JavaScript.
After that I got another error like below
ERROR [net.shibboleth.idp.profile.impl.ResolveAttributes:300] - Profile Action ResolveAttributes: Error resolving attributes
net.shibboleth.idp.attribute.resolver.ResolutionException: Attribute Definition 'AppRequester':Script did not run successfully
at net.shibboleth.idp.attribute.resolver.ad.impl.ScriptedAttributeDefinition$AttributeDefinitionScriptEvaluator.execute(ScriptedAttributeDefinition.java:228)
Caused by: java.lang.RuntimeException: javax.script.ScriptException: ReferenceError: "net" is not defined in nashorn:mozilla_compat.js at line number 69
at net.shibboleth.utilities.java.support.scripting.AbstractScriptEvaluator.evaluate(AbstractScriptEvaluator.java:193)
Caused by: javax.script.ScriptException: ReferenceError: "net" is not defined in nashorn:mozilla_compat.js at line number 69
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:477)
Caused by: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "net" is not defined
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
Thanks & Regards
Anusha Reddimalli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20210617/cc8c06fb/attachment.htm>
More information about the users
mailing list