1 Reply Latest reply on Jun 5, 2007 2:29 PM by Antoine Herzog

    JAAS authentication is failing for Correct User name and pas

    Rashmi Setty Newbie

      Hi,
      We are using JBoss portal 2.4.0 and JBoss App server 4.0.5.GA with Oracle 9.0 as database in production.
      We are facing a strange problem.Some times even if we give correct user name and password authentication is failing.After trying for 3 to 4 time then it authenticates correctly.
      We are not able to find out what is the problem.Even in server log files there are no exception logged.

      Please help us as it is very critical for us.

      Regards,
      Rashmi

        • 1. Re: JAAS authentication is failing for Correct User name and
          Antoine Herzog Master

          Strange.
          if it is critical, what I would do is :
          - replace the jaas login module with an overriden one, that show with added logs what's going on when checking the identity.
          - or try with MySQL, to see if it may come from the portal code, or from the oracle db.

          I don't know enough about oracle db, but if it succeed some time, but not always, it look like it may be the database that does not provide the user record quickly enough, no ?

          for replacing the jaas login module, look at the jaas module in the descriptor files (of portal in jboss).
          The service is defined in /deploy/jboss-portal.sar/META-INF/jboss-service.xml
          with name="portal:service=JAASLoginModule"

          Hope it helps...