Skip to content
Permalink
Browse files
8272674: Logging missing keytab file in Krb5LoginModule
Reviewed-by: coffeys
  • Loading branch information
wangweij committed Aug 19, 2021
1 parent 51c1b9a commit 9569159d2552d6079cd039b602264a324dcdfe49
Showing 1 changed file with 6 additions and 0 deletions.
@@ -101,9 +101,15 @@ private KeyTab(String filename) {
} 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);
}
}
}

1 comment on commit 9569159

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 9569159 Aug 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.