You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (Jira)" <ji...@apache.org> on 2019/12/23 11:41:00 UTC

[jira] [Assigned] (RANGER-2678) RangerUgSyncRESTClient sets password as username for basic auth

     [ https://issues.apache.org/jira/browse/RANGER-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pradeep Agrawal reassigned RANGER-2678:
---------------------------------------

    Assignee: Pradeep Agrawal

> 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
>            Assignee: Pradeep Agrawal
>            Priority: Major
>
> 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)