Using Nashorn with OpenJDK 17 and IdP 4.3.1

Vlad Mencl vladimir.mencl at reannz.co.nz
Tue Feb 20 20:31:20 UTC 2024


Hi Scott,

Thanks for the quick reply.

Yes, the IdP reports the plugin as loaded:
> 2024-02-21 09:19:19,622 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:55] - Shibboleth IdP Version 4.3.1
> 2024-02-21 09:19:19,623 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:56] - Java version='17.0.9' vendor='Private Build'
> 2024-02-21 09:19:19,678 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:71] - Plugins:
> 2024-02-21 09:19:19,680 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:73] - 		net.shibboleth.plugin.storage.jdbc : v1.0.4
> 2024-02-21 09:19:19,681 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:73] - 		net.shibboleth.idp.plugin.nashorn : v1.1.0
> 2024-02-21 09:19:19,707 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:100] - Enabled Modules:
> 2024-02-21 09:19:19,709 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:102] - 		Password Authentication
> 2024-02-21 09:19:19,709 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:102] - 		Hello World
> 2024-02-21 09:19:19,710 -  - INFO [net.shibboleth.idp.admin.impl.LogImplementationDetails:102] - 		Consent Interceptors


Just wondering: could this possibly be because I'm running the IdP under 
Tomcat - and the way Tomcat handles classloaders, the ScriptEngine 
Service Loader does not look into an app's classpath ?

But I've just tried copying the jars (nashorn + asm-*.jar) directly into 
/usr/share/tomcat9/lib/ where other libraries used by Tomcat are - and 
that did not help either.

Sorry, at a complete loss here - any help appreciated.


Cheers,
Vlad



On 21/02/24 09:09, Cantor, Scott wrote:
> [You don't often get email from cantor.2 at osu.edu. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> My only experience is with the Rhino plugin, but I would have to suspect the jars aren't actually in the warfile (which is to say, it's not using the warfile you think it is).
> 
> Does the status page indicate it's installed?
> 
> -- Scott
> 
> 

-- 
Vladimir Mencl
Lead Software Engineer

Research & Education
Advanced Network NZ Ltd

E  vladimir.mencl at reannz.co.nz
www.reannz.co.nz


More information about the users mailing list