cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: remove logging of authentication attempts, to be done in the Authenticator implementation patch by dbrosius reviewed by jbellis for CASSANDRA-2485
Date Tue, 09 Oct 2012 05:10:25 GMT
Updated Branches:
  refs/heads/trunk fc3235841 -> 52ecf41d2


remove logging of authentication attempts, to be done in the Authenticator implementation
patch by dbrosius reviewed by jbellis for CASSANDRA-2485


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

Branch: refs/heads/trunk
Commit: 52ecf41d2d48be2bfb5a92f743275951e6a2a982
Parents: fc32358
Author: Dave Brosius <dbrosius@apache.org>
Authored: Tue Oct 9 01:05:49 2012 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Tue Oct 9 01:08:52 2012 -0400

----------------------------------------------------------------------
 .../org/apache/cassandra/service/ClientState.java  |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/52ecf41d/src/java/org/apache/cassandra/service/ClientState.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/ClientState.java b/src/java/org/apache/cassandra/service/ClientState.java
index c95e3fb..df0b0a1 100644
--- a/src/java/org/apache/cassandra/service/ClientState.java
+++ b/src/java/org/apache/cassandra/service/ClientState.java
@@ -21,7 +21,6 @@ import java.util.*;
 
 import org.apache.cassandra.auth.*;
 import org.apache.cassandra.cql3.CFName;
-import org.apache.cassandra.thrift.CqlResult;
 import org.apache.cassandra.transport.messages.ResultMessage;
 import org.apache.commons.lang.StringUtils;
 import org.slf4j.Logger;
@@ -156,10 +155,7 @@ public class ClientState
      */
     public void login(Map<? extends CharSequence,? extends CharSequence> credentials)
throws AuthenticationException
     {
-        AuthenticatedUser user = DatabaseDescriptor.getAuthenticator().authenticate(credentials);
-        if (logger.isDebugEnabled())
-            logger.debug("logged in: {}", user);
-        this.user = user;
+        this.user = DatabaseDescriptor.getAuthenticator().authenticate(credentials);
     }
 
     private void resourceClear()


Mime
View raw message