HADOOP-8251. Fix SecurityUtil.fetchServiceTicket after HADOOP-6941. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1310168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e505b7e704
commit
04cc1d614d
@ -324,6 +324,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 static void fetchServiceTicket(URL remoteHost) throws IOException {
|
|||||||
} 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
Block a user