RFR: 8327818: Implement Kerberos debug with sun.security.util.Debug [v3]

Weijun Wang weijun at openjdk.org
Thu Mar 14 13:38:37 UTC 2024


On Thu, 14 Mar 2024 13:31:58 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Change `Krb5LoginModule` debugging to use `sun.security.util.Debug`.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   all other JGSS debugging

A new commit is pushed to cover all other debug outpus in JGSS/krb5. Most of the changes are simply one of:

1. `if (DEBUG)/` to `if (DEBUG != null)`
2. `System.out.println` to `DEBUG.println`.
3. `e.printStackTrace(System.out)` to `e.printStackTrace(DEBUG.getPrintStream())`

There is no more `DEBUG = Krb5.DEBUG` assignments. Always use `import static Krb5.DEBUG`.

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

PR Comment: https://git.openjdk.org/jdk/pull/18199#issuecomment-1997478408



More information about the security-dev mailing list