RFR: 8215916: The failure reason of an optional JAAS LoginModule is not logged [v6]

Weijun Wang weijun at openjdk.org
Tue Aug 16 12:36:33 UTC 2022

On Tue, 16 Aug 2022 08:44:03 GMT, Jayashree Huttanagoudar <duke at openjdk.org> wrote:

>> Could you please review the changes?
>> This patch is to address : https://bugs.openjdk.org/browse/JDK-8215916?jql=labels%20%3D%20starter-bug
> Jayashree Huttanagoudar has updated the pull request incrementally with one additional commit since the last revision:
>   Address review comment for test case

Great, the test looks fine.

Now, let's come back to the bug fix itself about failure reason of an optional LoginModule. In the "cross-platform" test case, only "[LoginContext]: login OPTIONAL failure" is shown in the debug output. It will nice to include the stack trace of the exception there. (the same exception we observed in the "windows" case).


PR: https://git.openjdk.org/jdk/pull/9159

More information about the security-dev mailing list