You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by zh...@apache.org on 2017/05/19 09:16:31 UTC

ranger git commit: RANGER-1542:Exceptions occured when I test connection during create a new service for atlas-plugin

Repository: ranger
Updated Branches:
  refs/heads/master 5d5dee08a -> d128b5fe1


RANGER-1542:Exceptions occured when I test connection during create a new service for atlas-plugin

Signed-off-by: zhangqiang2 <zh...@zte.com.cn>


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/d128b5fe
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/d128b5fe
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/d128b5fe

Branch: refs/heads/master
Commit: d128b5fe159cc52186c790ab08163718cab65b89
Parents: 5d5dee0
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Wed Apr 26 10:11:49 2017 +0800
Committer: zhangqiang2 <zh...@zte.com.cn>
Committed: Fri May 19 17:16:10 2017 +0800

----------------------------------------------------------------------
 .../java/org/apache/ranger/services/atlas/client/AtlasClient.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/d128b5fe/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
----------------------------------------------------------------------
diff --git a/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java b/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
index 116fceb..e686c4d 100644
--- a/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
+++ b/plugin-atlas/src/main/java/org/apache/ranger/services/atlas/client/AtlasClient.java
@@ -189,7 +189,7 @@ public class AtlasClient extends BaseClient {
 					decryptedPwd = password;
 				}
 			}
-			formData.add("j_password", PasswordUtils.decryptPassword(password));
+			formData.add("j_password", decryptedPwd);
 			try {
 				statusResponse = webResource.type("application/x-www-form-urlencoded").post(ClientResponse.class,
 						formData);