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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-M4
    • 2.0.0-M16
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: