1 Reply Latest reply on Apr 16, 2009 5:10 AM by Stephane Ruffieux

    Problem with custom Authenticator and Login Module

    Stephane Ruffieux Newbie


      I use JBoss 4.2.2.

      I need a custom Web Authenticator with a custom Login Module. I think that my configuration is correct. My Authenticator is called, and in this one, when I call the authenticate method of the realm, my login module is called. The call is the following:

      Principal principal = context.getRealm().authenticate(ntlm.getUsername(),"");

      The problem is, that my principal is null after this call.

      My Login Module extends AbstractServerLoginModule. The login() call is successful and the attribute "loginOk" is set to true. The method getIdentity() is never called.

      Thank you for the help.