shankarb27 commented on pull request #11443:
URL: https://github.com/apache/kafka/pull/11443#issuecomment-953675965


   The Sasl.createSaslClient for locating and selecting a SaslClient 
implementationobtains an ordered list of SaslClientFactory instances from the 
registered security providers for the "SaslClientFactory" . In the case of 
implementing the client in contexts where there are more number of factories 
available this might pick up a different factory and it may not invoke the 
correct call back ( As described in the documentation to implement authbearer 
mechanism for sasl). We are enforcing the correct saslclient is instantiated 
only in the case the mechanism is Oauthbearer so that the correct callbacks are 
made to complete the ssl connection 


-- 
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