4 Replies Latest reply on Dec 30, 2005 1:50 PM by Krish Dasari

    Exception handling Custom Login module

    Krish Dasari Newbie

      We have developed a new Custom Login Module which does the role mapping by getting the mapping roles from the database.
      We are running into a problem when there is an exception in the login module we are not able to display the error on the browser.
      We are throwing a LoginException to the JBoss and JBoss is throwing a 401 authentication error but I do not know how to get the error message from it.
      Is there a way we can get the error message, so that we can display it on the web page.