1 Reply Latest reply on Apr 4, 2017 7:10 AM by Anup Dey

    How to get LDAP error code on Login error

    Giuseppe Gallo Newbie

      I'm developing a new application on Jboss EAP 7. In order to perform the login it needs to connet to LDAP.

      I configured in my standalone.xml the login module "LdapExtended" and in the application web.xml the form authentication using j_security_check.

      Everithing works fine, the only problem is that I don't know how to intercept the LDAP error code when there is a login error. So I don't know wich feedback I should give to the user: wrong credentials, password expired ecc...

       

      Any suggestion?

       

      Thanks

      Giu