1 Reply Latest reply on Feb 11, 2004 9:18 PM by starksm64

    Getting login failure reasons

    lazarusli

      I am developing a web application that makes use of the FORM-based authentication. I subclassed JBoss' DatabaseServerLoginModule to perform this. This login module throws custom FailedLoginException for different failure reason.

      Is there anyway I can identify the failure reason from my web application? I need to be able to at least display different message for different failure reason.

        • 1. Re: Getting login failure reasons
          starksm64

          Your custom login module will have to make the custom exception available to the web app via some custom mechanism:


          [list=]ThreadLocal

          [list=]JNDI
          [list=]Custom tomcat Valve


          There is no standard way of propagating the security integration layer failure reason back to the web application.