1 Reply Latest reply on Aug 30, 2002 6:17 AM by patrick

    javax.security.auth.login.LoginException: unable to find Log

    patrick Novice

      I'm trying to use a custom login moudule but i get the following Exception.

      javax.servlet.ServletException: AuthenticationFilter:validate - could not log the user in : javax.security.auth.login.LoginException: unable to find LoginModule class: com.anachron.security.authentication.LDAPLoginModule
      at com.anachron.web.filter.AuthenticationFilter.validate(AuthenticationFilter.java:195)
      at com.anachron.web.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:99)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)


      I've installed the code base now on 3 computers 2 work and on one i get this error.

      Where does jboss search for a custom login module. I am ver puzzeled.

      This is the extra piece in the login-config.xml

      <application-policy name = "Anachron">

      <login-module code = "com.anachron.security.authentication.LDAPLoginModule"
      flag = "required">
      <module-option name = "principal">guest</module-option>
      <module-option name = "factory">com.sun.jndi.ldap.LdapCtxFactory</module-option>
      <module-option name = "url">ldap://cairo:389</module-option>
      </login-module>

      </application-policy>

      All hints are welcome