showuon commented on code in PR #15280:
URL: https://github.com/apache/kafka/pull/15280#discussion_r1469531952
##########
clients/src/main/java/org/apache/kafka/common/security/plain/internals/PlainSaslServer.java:
##########
@@ -93,20 +93,20 @@ public byte[] evaluateResponse(byte[] responseBytes) throws
SaslAuthenticationEx
throw new SaslAuthenticationException("Authentication failed:
username not specified");
}
if (password.isEmpty()) {
- throw new SaslAuthenticationException("Authentication failed:
password not specified");
+ throw new
SaslAuthenticationException(String.format("Authentication failed: password not
specified for user {%s}", username));
Review Comment:
After L93, we confirmed we have `username`. Adding it.
--
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]