RFR: 8215916: The failure reason of an optional JAAS LoginModule is not logged [v5]
Weijun Wang
weijun at openjdk.org
Mon Aug 15 16:02:14 UTC 2022
On Mon, 8 Aug 2022 17:34:59 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:
>
> Added test case using {Unix,NT}LoginModule
My own suggestion is that we dump the call stack info of the exception if an OPTIONAL login module fails to login and when debug is on. This is not a behavior change but in a test we can confirm it by grabbing the log output using `System.setErr(yourOwnByteArrayOutputStream)`.
-------------
PR: https://git.openjdk.org/jdk/pull/9159
More information about the security-dev
mailing list