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

    Getting login failure reasons

    k sw Newbie

      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
          Scott Stark Master

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


          [list=]Custom tomcat Valve

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