Class ClusterLinkHttpAccessTokenRetriever
java.lang.Object
org.apache.kafka.common.security.oauthbearer.internals.secured.HttpJwtRetriever
io.confluent.kafka.clients.plugins.auth.oauth.ClusterLinkHttpAccessTokenRetriever
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerConfigurable,org.apache.kafka.common.security.oauthbearer.JwtRetriever
public class ClusterLinkHttpAccessTokenRetriever
extends org.apache.kafka.common.security.oauthbearer.internals.secured.HttpJwtRetriever
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.kafka.common.security.oauthbearer.internals.secured.HttpJwtRetriever
org.apache.kafka.common.security.oauthbearer.internals.secured.HttpJwtRetriever.HttpRequestFormatterAdaptor -
Constructor Summary
ConstructorsConstructorDescriptionClusterLinkHttpAccessTokenRetriever(String clientId, String clientSecret, String scope, String tokenEndpointUrl, boolean urlencodeHeader, boolean enableFilteringDNSResolver) ClusterLinkHttpAccessTokenRetriever(String clientId, String clientSecret, String scope, String tokenEndpointUrl, boolean urlencodeHeader, boolean enableFilteringDNSResolver, boolean disallowLocalIps) -
Method Summary
Methods inherited from class org.apache.kafka.common.security.oauthbearer.internals.secured.HttpJwtRetriever
close, post
-
Constructor Details
-
ClusterLinkHttpAccessTokenRetriever
-
ClusterLinkHttpAccessTokenRetriever
-
-
Method Details
-
configure
public void configure(Map<String, ?> configs, String saslMechanism, List<AppConfigurationEntry> jaasConfigEntries) - Specified by:
configurein interfaceorg.apache.kafka.common.security.oauthbearer.internals.secured.OAuthBearerConfigurable- Overrides:
configurein classorg.apache.kafka.common.security.oauthbearer.internals.secured.HttpJwtRetriever
-
retrieve
- Specified by:
retrievein interfaceorg.apache.kafka.common.security.oauthbearer.JwtRetriever- Overrides:
retrievein classorg.apache.kafka.common.security.oauthbearer.internals.secured.HttpJwtRetriever- Throws:
org.apache.kafka.common.security.oauthbearer.JwtRetrieverException
-