Vi har det fungerande. Vi kör dock med Corretto enligt dokumentationen.
https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199511079/SystemRe…
/P
-----Original Message-----
From: Simon Lundström via Saml-admins <saml-admins(a)lists.sunet.se>
Sent: Wednesday, 23 October 2024 12:09
To: Swamid saml-admins <saml-admins(a)swamid.se>
Subject: [Saml-admins] IDPv5, JDK17, ScriptedAttribute och Nashorn
[EXTERNAL MAIL - MDU]
VARNING: Detta epostmeddelande har sitt ursprung utanför MDU. Klicka inte på länkar och
öppna inte bifogade filer om du inte känner igen avsändaren och vet att innehållet är
säkert.
CAUTION: This email originated from outside of MDU. Do not click links or open attachments
unless you recognize the sender and know the content is safe.
Tjo!
Är det någon som fått ScriptedAttribute att funka med Nashorn och JDK17 på IDPv5 ännu?
2024-10-23 11:55:40,396 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:57] - Shibboleth IdP Version
5.1.3
2024-10-23 11:55:40,397 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:58] - Java
version='17.0.13' vendor='Debian'
2024-10-23 11:55:40,399 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:73] - Plugins:
2024-10-23 11:55:40,399 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:75] -
net.shibboleth.idp.plugin.metadatagen : v2.0.0
2024-10-23 11:55:40,399 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:75] -
net.shibboleth.idp.plugin.nashorn : v2.0.0
2024-10-23 11:55:40,403 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:93] - Enabled Modules:
2024-10-23 11:55:40,403 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:95] - Core IdP
Functions (Required)
2024-10-23 11:55:40,404 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:95] - Command Line
Scripts
2024-10-23 11:55:40,404 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:95] - Password
Authentication
2024-10-23 11:55:40,404 - - INFO
[net.shibboleth.idp.admin.impl.LogImplementationDetails:95] - Hello
World
net.shibboleth.shared.service.ServiceException: Failed to load [file
[/local/shibboleth/idp/conf/attribute-resolver.xml], class path resource
[net/shibboleth/idp/conf/attribute-resolver-system.xml]]
at
net.shibboleth.shared.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:385)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'eppnFromUid': Cannot create inner bean '(inner bean)#75c9ebca'
of type [net.shibboleth.shared.spring.factory.EvaluableScriptFactoryBean] while setting
bean property 'script'
[…]
Caused by: java.lang.NullPointerException: Cannot invoke
"java.lang.invoke.MethodHandle.type()" because "target" is null
at
java.base/java.lang.invoke.MethodHandles.insertArgumentsChecks(MethodHandles.java:5198)
får jag med deras egna exempel kopierade från wikin
https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199503289/Scripted…
MVH
- Simon
_______________________________________________
Saml-admins mailing list -- saml-admins(a)lists.sunet.se
To unsubscribe send an email to saml-admins-leave(a)lists.sunet.se