8272674: Logging missing keytab file in Krb5LoginModule
Reviewed-by: coffeys
This commit is contained in:
parent
51c1b9a687
commit
9569159d25
@ -101,9 +101,15 @@ public class KeyTab implements KeyTabConstants {
|
||||
} catch (FileNotFoundException e) {
|
||||
entries.clear();
|
||||
isMissing = true;
|
||||
if (DEBUG) {
|
||||
System.out.println("Cannot load keytab " + tabName + ": " + e);
|
||||
}
|
||||
} catch (Exception ioe) {
|
||||
entries.clear();
|
||||
isValid = false;
|
||||
if (DEBUG) {
|
||||
System.out.println("Cannot load keytab " + tabName + ": " + ioe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user