2 Replies Latest reply on May 22, 2009 9:44 AM by Andre Bickford

    form-error-page not working

    Andre Bickford Newbie

      Hello,

      I've created a custom login module that implements javax.security.auth.spi.LoginModule. My login module works great when the user provides valid credentials, but when the user does not provide valid credentials the are bounced to a standard 403 error page, not the error page I've specified in web.xml. The relevant section of my web.xml looks like this:

      <login-config>
       <auth-method>FORM</auth-method>
       <form-login-config>
       <form-login-page>/login.jsp</form-login-page>
       <form-error-page>/loginError.jsp</form-error-page>
       </form-login-config>
      </login-config>
      


      Any idea why my form-error-page is not being honored? Also, I tried enabling extra logging per item #4 in the SecurityFAQ but I didn't see any extra logging printed out anywhere. I'm using JBossAS-5.0.1.