Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2678

RangerUgSyncRESTClient sets password as username for basic auth

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 2.1.0
    • Component/s: usersync
    • Labels:
      None

      Description

      RANGER-2591 introduced changes to usersync (unix/ldap).

      The following line is however broken

      https://github.com/apache/ranger/blame/master/ugsync/src/main/java/org/apache/ranger/unixusersync/process/RangerUgSyncRESTClient.java#L83

      getClient().addFilter(new HTTPBasicAuthFilter(getPassword(), getPassword()));

      it should beĀ 

      getClient().addFilter(new HTTPBasicAuthFilter(getUsername(), getPassword()));

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pradeep Pradeep Agrawal
                Reporter:
                krisss Krzysztof Adamski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: