Class ClusterLinkAccessTokenRetrieverFactory
java.lang.Object
io.confluent.kafka.clients.plugins.auth.oauth.ClusterLinkAccessTokenRetrieverFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetrieverstatic org.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetrieverCreate anAccessTokenRetrieverfrom the given SASL and JAAS configuration.
-
Constructor Details
-
ClusterLinkAccessTokenRetrieverFactory
public ClusterLinkAccessTokenRetrieverFactory()
-
-
Method Details
-
create
public static org.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetriever create(Map<String, ?> configs, Map<String, Object> jaasConfig) Create anAccessTokenRetrieverfrom the given SASL and JAAS configuration. Note: the returnedAccessTokenRetrieveris not initialized here and must be done by the caller prior to use.- Parameters:
configs- SASL configurationjaasConfig- JAAS configuration- Returns:
- Non-
nullAccessTokenRetriever
-
create
-