Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4277

ISPN server is not able to load login modules

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Alpha4
    • None
    • Server
    • None

      JGroups within ISPN server with security turned on is not able to load login standard java login modules like Krb5LoginModule, resulting into exception

       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)
      

      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.

              mircea.markus Mircea Markus (Inactive)
              vjuranek@redhat.com Vojtech Juranek
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: