svn merge -c 1189357 from trunk for HADOOP-7766.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1189506 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Tsz-wo Sze 2011-10-26 22:25:12 +00:00
parent 2721b38397
commit e70025b903
2 changed files with 3 additions and 3 deletions

View File

@ -151,9 +151,6 @@ public class KerberosAuthenticationHandler implements AuthenticationHandler {
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

@ -4,6 +4,9 @@ Hadoop Change Log
HADOOP-7721. Add log before login in KerberosAuthenticationHandler. (jitendra)
HADOOP-7766. The auth to local mappings are not being respected, with webhdfs
and security enabled. (jitendra)
Release 0.23.0 - Unreleased
INCOMPATIBLE CHANGES