1 Reply Latest reply on Nov 29, 2012 10:08 AM by yichen

    Any way to send back a HTTP 500 with LdapLoginModule?

    yichen Newbie



      I am using the LdapLoginModule to authenticate users for our app against Microsoft AD. I noticed that if my server cannot connect to the AD, My client still get back a HTTP 401. I would expect a HTTP 500 which would give my client an idea that there is some problems on the server and act accordingly.


      Can anyone tell me if there are any way to get JBoss authentication to send back the appropriate error code depending on the cause of the authentication failure?


      Any help would be greatly appreciated.