1 Reply Latest reply on Nov 27, 2002 3:23 AM by Anders

    unable to find LoginModule class (SimpleServerLoginModule)

    Anders Newbie

      Hi!

      I'm developing a loginmodule and have written a client to test it. I keep getting these errors and I'm not sure what the problem is. So now I'm trying to use the SimpleServerLoginModule just to test my client etc.

      I've added the following to login-config.xml:
      <application-policy name = "MyLogin">

      <login-module code = "org.jboss.security.auth.spi.SimpleServerLoginModule"
      flag = "required" />

      </application-policy>

      I have modified JaasSecurityManager to add extra debug information and I get the following exception:
      javax.security.auth.login.LoginException: unable to find LoginModule class: org.jboss.security.auth.spi.SimpleServerLoginModule

      Why can't the SimpleServerLoginModule be found?

      Thanks for any help,
      Anders