1 Reply Latest reply on Apr 25, 2003 7:03 PM by sys user

    Problem with UsersRolesLoginModule

    sys user Master

      I am trying to secure jmx-console using UserRolesLoginModule and am running into some problems. I have uncommented the appropriate lines in web.xml and jboss-web.xml. When I access the page, the login dialog comes up, but it does not authenticate after entering the password. I found the following exception in server.log:

      javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.auth.spi.UsersRolesLoginModule
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:631)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
      at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:449)
      at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:462)
      at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:417)


      I have jbosssx.jar in default/lib directory, which has this login module class. Is there any configuration problem which is leading to this?

      Thanks!