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