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.JwtRetrieverstatic org.apache.kafka.common.security.oauthbearer.JwtRetrieverCreate aJwtRetrieverfrom the given SASL and JAAS configuration.
-
Constructor Details
-
ClusterLinkAccessTokenRetrieverFactory
public ClusterLinkAccessTokenRetrieverFactory()
-
-
Method Details
-
create
public static org.apache.kafka.common.security.oauthbearer.JwtRetriever create(Map<String, ?> configs, Map<String, Object> jaasConfig) Create aJwtRetrieverfrom the given SASL and JAAS configuration. Note: the returnedJwtRetrieveris not initialized here and must be done by the caller prior to use.- Parameters:
configs- SASL configurationjaasConfig- JAAS configuration- Returns:
- Non-
nullJwtRetriever
-
create
-