mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8215916: The failure reason of an optional JAAS LoginModule is not logged
Reviewed-by: weijun
This commit is contained in:
parent
71ab5c95af
commit
3c2289d651
2 changed files with 80 additions and 2 deletions
|
@ -875,9 +875,10 @@ public class LoginContext {
|
|||
firstRequiredError = le;
|
||||
|
||||
} else {
|
||||
|
||||
if (debug != null)
|
||||
if (debug != null) {
|
||||
debug.println(name + " " + methodName + " OPTIONAL failure");
|
||||
le.printStackTrace();
|
||||
}
|
||||
|
||||
// mark down that an OPTIONAL module failed
|
||||
if (firstError == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue