From a90f8fb50fc0f24d2e9481651b7c14c90ad7e861 Mon Sep 17 00:00:00 2001 From: Jitendra Nath Pandey Date: Thu, 6 Oct 2011 21:41:11 +0000 Subject: [PATCH] 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 --- .../authentication/server/KerberosAuthenticationHandler.java | 1 + hadoop-common-project/hadoop-common/CHANGES.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java b/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java index 121d96628b..d7145b1824 100644 --- a/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java +++ b/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/server/KerberosAuthenticationHandler.java @@ -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(); diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 192331ab74..0405b17a56 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -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