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

    Any way to send back a HTTP 500 with LdapLoginModule?

    yichen

      Hi,

       

      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.

       

      Thanks,

       

      Yi

        • 1. Re: Any way to send back a HTTP 500 with LdapLoginModule?
          yichen

          Hello?

           

          Just wondering if anybody can help me with this issue? Or maybe point me in the right direction? I thought this looked like a bug in the authentication framework but thought I'd ask the forum first before logging it. Any help would be greatly appreciated!

           

          Thanks in advance,

           

          Yi