]
Vojtech Juranek updated ISPN-4277:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
ISPN server is not able to load login modules
---------------------------------------------
Key: ISPN-4277
URL:
https://issues.jboss.org/browse/ISPN-4277
Project: Infinispan
Issue Type: Bug
Components: Server
Reporter: Vojtech Juranek
Assignee: Mircea Markus
JGroups within ISPN server with security turned on is not able to load login standard
java login modules like Krb5LoginModule, resulting into exception
{noformat}
Caused by: javax.security.auth.login.LoginException: unable to find LoginModule class:
com.sun.security.auth.module.Krb5LoginModule from [Module
"org.jboss.as.clustering.jgroups:main" from local module loader @35ed35e0
(finder: local module finder @686c20c8 (roots:
/infinispan/server/integration/testsuite/target/server/node1/modules,/infinispan/server/integration/testsuite/target/server/node1/modules/system/layers/base))]
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:822)
[rt.jar:1.7.0_45]
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
[rt.jar:1.7.0_45]
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
[rt.jar:1.7.0_45]
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
[rt.jar:1.7.0_45]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)
[rt.jar:1.7.0_45]
at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
[rt.jar:1.7.0_45]
at org.jgroups.protocols.SASL.init(SASL.java:153)
at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:861)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481)
at org.jgroups.JChannel.init(JChannel.java:849)
at org.jgroups.JChannel.<init>(JChannel.java:159)
at org.jboss.as.clustering.jgroups.MuxChannel.<init>(MuxChannel.java:37)
at
org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:81)
at
org.jboss.as.clustering.jgroups.subsystem.ChannelService.start(ChannelService.java:69)
{noformat}
Besides JDK login modules, th server should see also other standard JBoss login modules
so that users can use whatever they are used to use in WildFly.