hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgra...@apache.org
Subject svn commit: r1344264 - in /hadoop/common/branches/branch-1: CHANGES.txt src/core/org/apache/hadoop/security/token/Token.java
Date Wed, 30 May 2012 14:10:11 GMT
Author: tgraves
Date: Wed May 30 14:10:10 2012
New Revision: 1344264

URL: http://svn.apache.org/viewvc?rev=1344264&view=rev
Log:
HADOOP-8445. Token should not print the password in toString (Ravi Prakash via tgraves)

Modified:
    hadoop/common/branches/branch-1/CHANGES.txt
    hadoop/common/branches/branch-1/src/core/org/apache/hadoop/security/token/Token.java

Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1344264&r1=1344263&r2=1344264&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Wed May 30 14:10:10 2012
@@ -10,6 +10,9 @@ Release 1.2.0 - unreleased
 
   BUG FIXES
 
+    HADOOP-8445. Token should not print the password in toString
+    (Ravi Prakash via tgraves)
+
 Release 1.1.0 - unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/branches/branch-1/src/core/org/apache/hadoop/security/token/Token.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/src/core/org/apache/hadoop/security/token/Token.java?rev=1344264&r1=1344263&r2=1344264&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/src/core/org/apache/hadoop/security/token/Token.java (original)
+++ hadoop/common/branches/branch-1/src/core/org/apache/hadoop/security/token/Token.java Wed
May 30 14:10:10 2012
@@ -265,8 +265,6 @@ public class Token<T extends TokenIdenti
     StringBuilder buffer = new StringBuilder();
     buffer.append("Ident: ");
     addBinaryBuffer(buffer, identifier);
-    buffer.append(", Pass: ");
-    addBinaryBuffer(buffer, password);
     buffer.append(", Kind: ");
     buffer.append(kind.toString());
     buffer.append(", Service: ");



Mime
View raw message