Provide a set of error codes along with an AuthenticationException to indicate
its root cause.
----------------------------------------------------------------------------------------------
Key: DIRSERVER-1676
URL: https://issues.apache.org/jira/browse/DIRSERVER-1676
Project: Directory ApacheDS
Issue Type: Improvement
Components: core
Affects Versions: 2.0.0-M4
Environment: 64bit Windows, using 32 bit jvm to support wrapper.dll
Reporter: Carlo Accorsi
Priority: Minor
There may be more cases to consider but when a user supplies an incorrect
password or the account is locked,
a javax.naming.AuthenticationException is thrown. Currently comparing the
strings returned by ex.getMessage() is
the only way to determine which event occurred.
[LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot
authenticate user uid=xyz,o=corp]
[LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: account was
permanently locked]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira