1 Reply Latest reply on Feb 21, 2003 12:53 PM by alchemista

    LdapLoginModule Authentication Problem: username=null

    alchemista

      Hello,

      I'm trying to authenticate a user's roles via an LDAP directory. I'm using the jmx-console app as the basis.

      I am able to match against a principal in the LDAP directory, but it seems that something goes wrong once a match is made.

      I try to go to the /jmx-console context via a browser, and it prompts me for a username/password.

      If I enter a bad name/pass, it will re-prompt me. The debug logging will say Failed login/password (this is good).

      However, if I enter a good name/pass, it will not re-prompt me but give me a 403 reponse. The debug logging will say "Bad password for username=null". This seems to be a problem. Why is it saying username=null although I enter a username in the prompt?

      I am using JBoss3.2.0-RC2-tomcat on RH8.0.

      If you need any additional files let me know.

      Thanks

        • 1. Re: LdapLoginModule Authentication Problem: username=null
          alchemista

          Now that I am able to compile JBoss 3.2.0-RC2, I was able to get some more information with my own debug statements.

          The username=null, password=null is done on the first access to the /jmx-console context. Why is it trying to login as null/null before it prompts me for my login?

          I think the real login via my username/password on LDAP is proceeding, just that it is not matching the role correctly.

          This causes 2 issues now.

          Thanks