From 2ce817aecf38c5e8aafbd7e2b5da08f01b2d50e6 Mon Sep 17 00:00:00 2001 From: Jitendra Nath Pandey Date: Wed, 26 Oct 2011 18:20:07 +0000 Subject: [PATCH] HADOOP-7766. The auth to local mappings are not being respected, with webhdfs and security enabled. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189357 13f79535-47bb-0310-9956-ffa450edef68 --- .../authentication/server/KerberosAuthenticationHandler.java | 3 --- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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 d7145b1824..38b51cbaa7 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 @@ -151,9 +151,6 @@ public void init(Properties config) throws ServletException { throw new ServletException("Keytab does not exist: " + keytab); } - String nameRules = config.getProperty(NAME_RULES, "DEFAULT"); - KerberosName.setRules(nameRules); - Set principals = new HashSet(); principals.add(new KerberosPrincipal(principal)); Subject subject = new Subject(false, principals, new HashSet(), new HashSet()); diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index f928c3328c..8887badd2d 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -90,6 +90,9 @@ Trunk (unreleased changes) HADOOP-7769. TestJMXJsonServlet is failing. (tomwhite) + HADOOP-7766. The auth to local mappings are not being respected, with webhdfs + and security enabled. (jitendra) + Release 0.23.0 - Unreleased INCOMPATIBLE CHANGES