Krzysztof Adamski created RANGER-2678:
-----------------------------------------

             Summary: RangerUgSyncRESTClient sets password as username for 
basic auth
                 Key: RANGER-2678
                 URL: https://issues.apache.org/jira/browse/RANGER-2678
             Project: Ranger
          Issue Type: Bug
          Components: usersync
    Affects Versions: master
            Reporter: Krzysztof Adamski


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()));



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to