Directory ApacheDS
  1. Directory ApacheDS
  2. DIRSERVER-1676

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

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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]

        Activity

        Carlo Accorsi created issue -
        Kiran Ayyagari made changes -
        Field Original Value New Value
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Kiran Ayyagari made changes -
        Fix Version/s 2.0.0-M16 [ 12324908 ]
        Fix Version/s 2.0.0-RC1 [ 12313387 ]
        Kiran Ayyagari made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Kiran Ayyagari [ akiran ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development