Sean-Walker0 opened a new pull request, #23631:
URL: https://github.com/apache/kafka/pull/23631
The log statement that reports configured native GSSAPI private credentials
in `SaslChannelBuilder` passes `serviceHostname` for both format arguments, so
it logs `host@host` instead of the `serviceName@host` form of the GSS name that
was created just above:
GSSName gssName = manager.createName(servicePrincipalName + "@" +
serviceHostname, GSSName.NT_HOSTBASED_SERVICE);
...
log.info("Configured native GSSAPI private credentials for {}@{}",
serviceHostname, serviceHostname);
This passes `servicePrincipalName` as the first argument so the logged name
matches the credential that was added to the subject.
Testing: log message fix only, no behavior change; no tests assert this log
output (verified by searching the codebase).
Co-Authored-By: ZCode GLM-5.3 <[email protected]>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]