cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [04/10] cassandra git commit: Don't include auth credentials in debug log
Date Wed, 15 Jul 2015 15:29:21 GMT
Don't include auth credentials in debug log

Patch by Sam Tunnicliffe; reviewed by Brandon Williams for
CASSANDRA-9682


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

Branch: refs/heads/trunk
Commit: 1d54fc339722400b05cc256b21a244c860b9a1bf
Parents: 52dbc3f
Author: Sam Tunnicliffe <sam@beobal.com>
Authored: Wed Jul 15 15:29:25 2015 +0100
Committer: Sam Tunnicliffe <sam@beobal.com>
Committed: Wed Jul 15 15:29:25 2015 +0100

----------------------------------------------------------------------
 CHANGES.txt                                                        | 1 +
 .../apache/cassandra/transport/messages/CredentialsMessage.java    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1d54fc33/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 84d562c..a755cb9 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.0.17
+ * Don't include auth credentials in debug log (CASSANDRA-9682)
  * Can't transition from write survey to normal mode (CASSANDRA-9740)
  * Avoid NPE in AuthSuccess#decode (CASSANDRA-9727)
  * Add listen_address to system.local (CASSANDRA-9603)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/1d54fc33/src/java/org/apache/cassandra/transport/messages/CredentialsMessage.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/messages/CredentialsMessage.java b/src/java/org/apache/cassandra/transport/messages/CredentialsMessage.java
index 2c93afd..815a8d3 100644
--- a/src/java/org/apache/cassandra/transport/messages/CredentialsMessage.java
+++ b/src/java/org/apache/cassandra/transport/messages/CredentialsMessage.java
@@ -89,6 +89,6 @@ public class CredentialsMessage extends Message.Request
     @Override
     public String toString()
     {
-        return "CREDENTIALS " + credentials;
+        return "CREDENTIALS";
     }
 }


Mime
View raw message