HADOOP-7721. Add a log before login in KerberosAuthenticationHandler.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1179869 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jitendra Nath Pandey 2011-10-06 21:41:11 +00:00
parent 6f1d18bd47
commit a90f8fb50f
2 changed files with 3 additions and 0 deletions

View File

@ -160,6 +160,7 @@ public void init(Properties config) throws ServletException {
KerberosConfiguration kerberosConfiguration = new KerberosConfiguration(keytab, principal);
LOG.info("Login using keytab "+keytab+", for principal "+principal);
loginContext = new LoginContext("", subject, null, kerberosConfiguration);
loginContext.login();

View File

@ -57,6 +57,8 @@ Trunk (unreleased changes)
HADOOP-7695. RPC.stopProxy can throw unintended exception while logging
error (atm)
HADOOP-7721. Add log before login in KerberosAuthenticationHandler. (jitendra)
Release 0.23.0 - Unreleased
INCOMPATIBLE CHANGES