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
This commit is contained in:
Jitendra Nath Pandey 2011-10-26 18:20:07 +00:00
parent 8534e70044
commit 2ce817aecf
2 changed files with 3 additions and 3 deletions

View File

@ -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<Principal> principals = new HashSet<Principal>();
principals.add(new KerberosPrincipal(principal));
Subject subject = new Subject(false, principals, new HashSet<Object>(), new HashSet<Object>());

View File

@ -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