mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8250582: Revert Principal Name type to NT-UNKNOWN when requesting TGS Kerberos tickets
Reviewed-by: weijun
This commit is contained in:
parent
6c2ff1781b
commit
31753ef9bf
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class CredentialsUtil {
|
|||
String service, Credentials ccreds)
|
||||
throws KrbException, IOException {
|
||||
PrincipalName sname = new PrincipalName(service,
|
||||
PrincipalName.KRB_NT_SRV_HST);
|
||||
PrincipalName.KRB_NT_UNKNOWN);
|
||||
return serviceCreds(sname, ccreds);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue