nandini12396 commented on code in PR #22880:
URL: https://github.com/apache/kafka/pull/22880#discussion_r3649992802
##########
clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslServerAuthenticator.java:
##########
@@ -139,6 +139,9 @@ private enum SaslState {
private AuthenticationException pendingException = null;
private SaslServer saslServer;
private String saslMechanism;
+ // The authenticated principal is connection-scoped. Cache it after the
first build since principal() is invoked
Review Comment:
Good point! added a comment, thanks
--
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]