ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject git commit: ARGUS-9:Fixed StormClient debug logging to be secure
Date Thu, 09 Oct 2014 01:16:24 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master e93b05fdf -> 091efb7d9


ARGUS-9:Fixed StormClient debug logging to be secure

Signed-off-by: sneethiraj <sneethir@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-argus/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-argus/commit/091efb7d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-argus/tree/091efb7d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-argus/diff/091efb7d

Branch: refs/heads/master
Commit: 091efb7d9af8945c65106410b2df9466dd473c86
Parents: e93b05f
Author: vperiasamy <vperiasamy@hortonworks.com>
Authored: Wed Oct 8 19:16:39 2014 -0400
Committer: sneethiraj <sneethir@apache.org>
Committed: Wed Oct 8 21:16:11 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/com/xasecure/storm/client/StormClient.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/091efb7d/lookup-client/src/main/java/com/xasecure/storm/client/StormClient.java
----------------------------------------------------------------------
diff --git a/lookup-client/src/main/java/com/xasecure/storm/client/StormClient.java b/lookup-client/src/main/java/com/xasecure/storm/client/StormClient.java
index 35dc2db..2d40973 100644
--- a/lookup-client/src/main/java/com/xasecure/storm/client/StormClient.java
+++ b/lookup-client/src/main/java/com/xasecure/storm/client/StormClient.java
@@ -67,7 +67,7 @@ public class StormClient {
 		this.password = aPassword;
 		
 		if (LOG.isDebugEnabled()) {
-			LOG.debug("Storm Client is build with url [" + aStormUIUrl + "] user: [" + aUserName +
"], password: [" + aPassword + "]");
+			LOG.debug("Storm Client is build with url [" + aStormUIUrl + "] user: [" + aUserName +
"], password: [" + "" + "]");
 		}
 
 	}
@@ -242,7 +242,7 @@ public class StormClient {
 
 		try {
 		    subject = new Subject();
-			LOG.info("executeUnderKerberos():user=" + userName + ",pass=" + password);
+			LOG.info("executeUnderKerberos():user=" + userName + ",pass=");
 			LOG.info("executeUnderKerberos():Creating config..");
 			MySecureClientLoginConfiguration loginConf = new MySecureClientLoginConfiguration(
 					userName, password);


Mime
View raw message