You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/10/28 09:32:28 UTC

[GitHub] [kafka] shankarb27 commented on pull request #11443: KAFKA-13411: This code enforces the creation of the correct sasl client (OAuthBear…

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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org