Support for communication timeout with kerberos server

Closes #10668
This commit is contained in:
Tomohiro Nagai 2022-03-09 23:54:44 +09:00 committed by Marek Posolda
parent 80dab89468
commit ba369a2c2b

View file

@ -104,7 +104,8 @@ public class KerberosUsernamePasswordAuthenticator {
message.contains("CANNOT LOCATE") || message.contains("CANNOT LOCATE") ||
message.contains("CANNOT CONTACT") || message.contains("CANNOT CONTACT") ||
message.contains("CANNOT FIND") || message.contains("CANNOT FIND") ||
message.contains("UNKNOWN ERROR")) { message.contains("UNKNOWN ERROR") ||
message.contains("RECEIVE TIMED OUT")) {
throw new ModelException("Kerberos unreachable", le); throw new ModelException("Kerberos unreachable", le);
} }
} }