HADOOP-8251. Fix SecurityUtil.fetchServiceTicket after HADOOP-6941. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1310167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2bdd7b66e
commit
37c3d51954
|
@ -211,6 +211,8 @@ Release 2.0.0 - UNRELEASED
|
||||||
HADOOP-8243. Security support broken in CLI (manual) failover controller
|
HADOOP-8243. Security support broken in CLI (manual) failover controller
|
||||||
(todd)
|
(todd)
|
||||||
|
|
||||||
|
HADOOP-8251. Fix SecurityUtil.fetchServiceTicket after HADOOP-6941 (todd)
|
||||||
|
|
||||||
BREAKDOWN OF HADOOP-7454 SUBTASKS
|
BREAKDOWN OF HADOOP-7454 SUBTASKS
|
||||||
|
|
||||||
HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh)
|
HADOOP-7455. HA: Introduce HA Service Protocol Interface. (suresh)
|
||||||
|
|
|
@ -171,7 +171,7 @@ public class SecurityUtil {
|
||||||
} else {
|
} else {
|
||||||
principalClass = Class.forName("sun.security.krb5.PrincipalName");
|
principalClass = Class.forName("sun.security.krb5.PrincipalName");
|
||||||
credentialsClass = Class.forName("sun.security.krb5.Credentials");
|
credentialsClass = Class.forName("sun.security.krb5.Credentials");
|
||||||
krb5utilClass = Class.forName("sun.security.jgss.krb5");
|
krb5utilClass = Class.forName("sun.security.jgss.krb5.Krb5Util");
|
||||||
}
|
}
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
Constructor principalConstructor = principalClass.getConstructor(String.class,
|
Constructor principalConstructor = principalClass.getConstructor(String.class,
|
||||||
|
|
Loading…
Reference in New Issue