You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by zh...@apache.org on 2017/03/17 01:16:58 UTC
ranger git commit: RANGER-1461:The printing error of callback in
ConsolePromptCallbackHandler
Repository: ranger
Updated Branches:
refs/heads/master 149c51662 -> 8166d00b1
RANGER-1461:The printing error of callback in ConsolePromptCallbackHandler
Signed-off-by: zhangqiang2 <zh...@zte.com.cn>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/8166d00b
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/8166d00b
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/8166d00b
Branch: refs/heads/master
Commit: 8166d00b12c920bb48896b69b50eceecde1b6975
Parents: 149c516
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Thu Mar 16 15:15:16 2017 +0800
Committer: zhangqiang2 <zh...@zte.com.cn>
Committed: Thu Mar 16 21:15:30 2017 -0400
----------------------------------------------------------------------
.../authentication/unix/jaas/ConsolePromptCallbackHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/8166d00b/unixauthclient/src/main/java/org/apache/ranger/authentication/unix/jaas/ConsolePromptCallbackHandler.java
----------------------------------------------------------------------
diff --git a/unixauthclient/src/main/java/org/apache/ranger/authentication/unix/jaas/ConsolePromptCallbackHandler.java b/unixauthclient/src/main/java/org/apache/ranger/authentication/unix/jaas/ConsolePromptCallbackHandler.java
index 31e6ddb..ad1b6c6 100644
--- a/unixauthclient/src/main/java/org/apache/ranger/authentication/unix/jaas/ConsolePromptCallbackHandler.java
+++ b/unixauthclient/src/main/java/org/apache/ranger/authentication/unix/jaas/ConsolePromptCallbackHandler.java
@@ -61,7 +61,7 @@ public class ConsolePromptCallbackHandler implements CallbackHandler {
pc.setPassword(line.toCharArray());
}
else {
- System.out.println("Unknown callbacl [" + cb.getClass().getName() + "]");
+ System.out.println("Unknown callback [" + cb.getClass().getName() + "]");
}
}
}