hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1156855 - in /hadoop/common/trunk/hadoop-common: CHANGES.txt src/main/java/org/apache/hadoop/security/token/Token.java
Date Thu, 11 Aug 2011 22:57:51 GMT
Author: eli
Date: Thu Aug 11 22:57:51 2011
New Revision: 1156855

URL: http://svn.apache.org/viewvc?rev=1156855&view=rev
Log:
HADOOP-6622. Token should not print the password in toString.

Modified:
    hadoop/common/trunk/hadoop-common/CHANGES.txt
    hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java

Modified: hadoop/common/trunk/hadoop-common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common/CHANGES.txt?rev=1156855&r1=1156854&r2=1156855&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-common/CHANGES.txt Thu Aug 11 22:57:51 2011
@@ -486,6 +486,8 @@ Trunk (unreleased changes)
     HADOOP-7357. hadoop.io.compress.TestCodec#main() should exit with
     non-zero exit code if test failed. (Philip Zeyliger via eli)
 
+    HADOOP-6622. Token should not print the password in toString. (eli)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java?rev=1156855&r1=1156854&r2=1156855&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java
(original)
+++ hadoop/common/trunk/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java
Thu Aug 11 22:57:51 2011
@@ -238,8 +238,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