You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Krzysztof Adamski (Jira)" <ji...@apache.org> on 2019/12/18 21:53:00 UTC
[jira] [Created] (RANGER-2678) RangerUgSyncRESTClient sets password
as username for basic auth
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)