Repository: zookeeper
Updated Branches:
  refs/heads/branch-3.5 3cd87f069 -> 4eeb90dd1


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/4eeb90dd
Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/4eeb90dd
Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/4eeb90dd

Branch: refs/heads/branch-3.5
Commit: 4eeb90dd127c84e8f038466efb215671e0cbb4be
Parents: 3cd87f0
Author: fpj <f...@apache.org>
Authored: Mon Oct 17 09:34:57 2016 +0100
Committer: fpj <f...@apache.org>
Committed: Mon Oct 17 09:34:57 2016 +0100

----------------------------------------------------------------------
 CHANGES.txt                                                       | 3 +++
 .../apache/zookeeper/server/auth/SaslServerCallbackHandler.java   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zookeeper/blob/4eeb90dd/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index b6ab85b..9dd5729 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -71,6 +71,9 @@ BUGFIXES:
   ZOOKEEPER-2467: NullPointerException when redo Command is passed negative 
value
   (Rakesh Kumar Singh via rakeshr)
 
+  ZOOKEEPER-2606: SaslServerCallbackHandler#handleAuthorizeCallback() should 
log
+  the exception (Ted Yu via fpj)
+
 IMPROVEMENTS:
 
   ZOOKEEPER-2505: Use shared library instead of static library in C

http://git-wip-us.apache.org/repos/asf/zookeeper/blob/4eeb90dd/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