Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1676

Provide a set of error codes along with an AuthenticationException to indicate its root cause.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M4
    • Fix Version/s: 2.0.0-M16
    • Component/s: core
    • Labels:
    • Environment:
      64bit Windows, using 32 bit jvm to support wrapper.dll

      Description

      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]

        Attachments

          Activity

            People

            • Assignee:
              akiran Kiran Ayyagari
              Reporter:
              caccorsi Carlo Accorsi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: