0 Replies Latest reply on Oct 30, 2013 5:37 AM by celle2006

    j_exception is empty when login failed ( javax.security.auth.login.FailedLoginException)

    celle2006 Newbie

      Dear all,

       

      i configured a form based login in JBoss 7.1.3. The authentication works fine. When user enters correct user data, he is logged in and can work.

      If the user enters incorrect user data he is thrown to the login-error-page. So everythings fine so far. Now, here is my problem:

       

      In JBoss 5.1 i could ask for attribute j_exception when the user had entered incorrect user data. And i could tell him that he entered a incorrect

      username or he entered an incorrect password. But in JBoss 7 j_exception is always empty.

       

      Does anybody know how to fill j_exception????

       

      Thanks in advance.

       

      Best regards

       

      Marcel