chia7712 commented on code in PR #18589:
URL: https://github.com/apache/kafka/pull/18589#discussion_r2366270299


##########
clients/src/main/java/org/apache/kafka/common/security/kerberos/KerberosLogin.java:
##########
@@ -370,7 +370,7 @@ protected void reLogin() throws LoginException {
             }
             //login and also update the subject field of this instance to
             //have the new credentials (pass it to the LoginContext 
constructor)
-            loginContext = new LoginContext(contextName(), subject, null, 
configuration());
+            loginContext = new LoginContext(contextName(), subject, 
getLoginCallbackHandler(), configuration());

Review Comment:
   Could you please add unit test for 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]

Reply via email to