mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8308540: On Kerberos TGT referral, if krb5.conf is missing realm, bad exception message
Reviewed-by: xuelei
This commit is contained in:
parent
5ff42d1429
commit
e624484ecf
3 changed files with 47 additions and 29 deletions
|
@ -1268,7 +1268,7 @@ public class Config {
|
|||
if (defaultKDC != null) {
|
||||
return defaultKDC;
|
||||
}
|
||||
KrbException ke = new KrbException("Cannot locate KDC");
|
||||
KrbException ke = new KrbException("Cannot locate KDC for " + realm);
|
||||
if (cause != null) {
|
||||
ke.initCause(cause);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue