kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: KAFKA-4013; Include exception cause in SaslServerCallbackHandler [Forced Update!]
Date Tue, 09 Aug 2016 01:12:38 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk d5de8e345 -> 91b4e3c00 (forced update)


KAFKA-4013; Include exception cause in SaslServerCallbackHandler

Author: Bryan Baugher <bryan.baugher@cerner.com>

Reviewers: Sriharsha Chintalapani <harsha@hortonworks.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1695 from bbaugher/KAFKA-4013


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/91b4e3c0
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/91b4e3c0
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/91b4e3c0

Branch: refs/heads/trunk
Commit: 91b4e3c00d84bf05387d55869062a2f988a8a4eb
Parents: 7b7f57d
Author: Bryan Baugher <bryan.baugher@cerner.com>
Authored: Tue Aug 9 01:54:55 2016 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Tue Aug 9 02:12:22 2016 +0100

----------------------------------------------------------------------
 .../common/security/authenticator/SaslServerCallbackHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/91b4e3c0/clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslServerCallbackHandler.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslServerCallbackHandler.java
b/clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslServerCallbackHandler.java
index c23e390..c01f01d 100644
--- a/clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslServerCallbackHandler.java
+++ b/clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslServerCallbackHandler.java
@@ -89,7 +89,7 @@ public class SaslServerCallbackHandler implements AuthCallbackHandler {
             LOG.info("Setting authorizedID: {}", userName);
             ac.setAuthorizedID(userName);
         } catch (IOException e) {
-            LOG.error("Failed to set name based on Kerberos authentication rules.");
+            LOG.error("Failed to set name for '{}' based on Kerberos authentication rules.",
kerberosName, e);
         }
     }
 


Mime
View raw message