1 Reply Latest reply on May 31, 2006 8:43 AM by j2ee_junkie

    Displaying the reason of login failure on the error-page

    kosl

      Dear I'm developing an J2EE application using jboss and jsf.

      I'm developing right now authenticating mechanism for this application. I've written a LoginModule which is athenticating users if they will give the right login and password. The same LoginModule is locking the account and not allowing users to login after several failed attempts. And here comes my question. I would like to know how can I display the information about the reason of login failure? Right now it's redirecting the users to the error page.

      Does any1 have any hints how can I customise this error page and display the failure reason on it ?

      Thanks a lot in advance,

      Karol