Repository: zookeeper
Updated Branches:
  refs/heads/master 422058c22 -> cef597896


ZOOKEEPER-2606: SaslServerCallbackHandler#handleAuthorizeCallback() should log 
the exception (Ted Yu via fpj)


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

Branch: refs/heads/master
Commit: cef5978969bedfe066f903834a9ea4af6d508844
Parents: 422058c
Author: fpj <f...@apache.org>
Authored: Mon Oct 17 09:27:16 2016 +0100
Committer: fpj <f...@apache.org>
Committed: Mon Oct 17 09:37:12 2016 +0100

----------------------------------------------------------------------
 CHANGES.txt                                                     | 5 ++++-
 .../apache/zookeeper/server/auth/SaslServerCallbackHandler.java | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/cef59789/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 4dc5fd8..7849a67 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -398,7 +398,10 @@ BUGFIXES:
   (Eyal Leshmem via rgs)
 
   ZOOKEEPER-2467: NullPointerException when redo Command is passed negative 
value
- (Rakesh Kumar Singh via rakeshr)
+  (Rakesh Kumar Singh via rakeshr)
+
+  ZOOKEEPER-2606: SaslServerCallbackHandler#handleAuthorizeCallback() should 
log
+  the exception (Ted Yu via fpj) 
 
 IMPROVEMENTS:
   ZOOKEEPER-2024 Major throughput improvement with mixed workloads (Kfir 
Lev-Ari via shralex)

http://git-wip-us.apache.org/repos/asf/zookeeper/blob/cef59789/src/java/main/org/apache/zookeeper/server/auth/SaslServerCallbackHandler.java
----------------------------------------------------------------------
diff --git 
a/src/java/main/org/apache/zookeeper/server/auth/SaslServerCallbackHandler.java 
b/src/java/main/org/apache/zookeeper/server/auth/SaslServerCallbackHandler.java
index 2fbd6ed..7fdffde 100644
--- 
a/src/java/main/org/apache/zookeeper/server/auth/SaslServerCallbackHandler.java
+++ 
b/src/java/main/org/apache/zookeeper/server/auth/SaslServerCallbackHandler.java
@@ -134,7 +134,7 @@ public class SaslServerCallbackHandler implements 
CallbackHandler {
             LOG.info("Setting authorizedID: " + userNameBuilder);
             ac.setAuthorizedID(userNameBuilder.toString());
         } catch (IOException e) {
-            LOG.error("Failed to set name based on Kerberos authentication 
rules.");
+            LOG.error("Failed to set name based on Kerberos authentication 
rules.", e);
         }
     }
 

Reply via email to