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:
parent
6f1d18bd47
commit
a90f8fb50f
@ -160,6 +160,7 @@ public void init(Properties config) throws ServletException {
|
|||||||
|
|
||||||
KerberosConfiguration kerberosConfiguration = new KerberosConfiguration(keytab, principal);
|
KerberosConfiguration kerberosConfiguration = new KerberosConfiguration(keytab, principal);
|
||||||
|
|
||||||
|
LOG.info("Login using keytab "+keytab+", for principal "+principal);
|
||||||
loginContext = new LoginContext("", subject, null, kerberosConfiguration);
|
loginContext = new LoginContext("", subject, null, kerberosConfiguration);
|
||||||
loginContext.login();
|
loginContext.login();
|
||||||
|
|
||||||
|
@ -57,6 +57,8 @@ Trunk (unreleased changes)
|
|||||||
HADOOP-7695. RPC.stopProxy can throw unintended exception while logging
|
HADOOP-7695. RPC.stopProxy can throw unintended exception while logging
|
||||||
error (atm)
|
error (atm)
|
||||||
|
|
||||||
|
HADOOP-7721. Add log before login in KerberosAuthenticationHandler. (jitendra)
|
||||||
|
|
||||||
Release 0.23.0 - Unreleased
|
Release 0.23.0 - Unreleased
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
Loading…
Reference in New Issue
Block a user