0 Replies Latest reply on Jan 20, 2009 11:29 AM by manasmallik

    JAAS Error Handling

    manasmallik

      I am using DatabaseServerLoginModule for JAAS Form based authentication.
      My problem is that, if the data base is down then how can i propagate the error message from the DatabaseServerLoginModule to the error jsp page, which is configured for the Form based authentication in web.xml file. I have another question, how to differentiate in the error page , if the error actually happens because the user is invalid or the error comes because the data base which may be down at the time of authentication.

      I appreciate the reply.