Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-285

ModifyPassword extended operation incorrectly expects value in ModifyResponse

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-RC1
    • Fix Version/s: 1.0.0-RC2
    • Labels:
      None

      Description

      When using Apache Directory API to send out a ModifyPassword request to
      a non-Apache LDAP server, I stumbled upon an issue when processing the
      response of the request.

      The specification ( https://tools.ietf.org/html/rfc3062#section-2.2 ;
      RFC 3062 section 2.2), states

      " Password Modify response is an ExtendedResponse where the responseName
      field is absent and the response field is optional."

      But PasswordModifyFactory#decorate() instead assumes there will always
      be a response field.

        Activity

        Show
        elecharny Emmanuel Lecharny added a comment - Patched with http://svn.apache.org/viewvc?rev=1763220&view=rev
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Thanks for the report. The API will be released soon (this week may be)

        Show
        elecharny Emmanuel Lecharny added a comment - Thanks for the report. The API will be released soon (this week may be)
        Hide
        mdobrinic Mark Dobrinic added a comment -

        Thanks so much for taking care of this!

        Show
        mdobrinic Mark Dobrinic added a comment - Thanks so much for taking care of this!

          People

          • Assignee:
            Unassigned
            Reporter:
            mdobrinic Mark Dobrinic
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development