RFR: 8282730: LdapLoginModule throw NPE from logout method after login failure [v3]

Sean Mullan mullan at openjdk.org
Mon Jul 18 15:53:43 UTC 2022


On Sat, 16 Jul 2022 13:46:58 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Add null-checks in all `LoginModule` implementations. It's possible that an application calls `logout` after a login failure, where most internal variables for principals and credentials are null and removing a null from the `Subject`'s principals and credentials sets will trigger a `NullPointerException`.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   more comment

I can also review the CSR when it is ready.

-------------

Marked as reviewed by mullan (Reviewer).

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



More information about the security-dev mailing list