1 Reply Latest reply: May 25, 2011 2:47 AM by EJP RSS

    Exception with custom JAASLogin module

    840176
      Hi all, I am getting the following exception in my custom JAAS login module:

      javax.security.auth.login.LoginException: unable to find LoginModule class: ke.go.kra.itms.sem.auth.KRALoginModule
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
      at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:362)
      at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258)

      I have made the necessary entry in the login.config file too. But not sure about the cause of the error.

      Please help.