Class ExternalKafkaAuthStore
java.lang.Object
io.confluent.security.auth.store.kafka.ExternalKafkaAuthStore
- All Implemented Interfaces:
io.confluent.security.auth.metadata.AuthStore,Closeable,AutoCloseable,org.apache.kafka.common.Configurable
public class ExternalKafkaAuthStore
extends Object
implements io.confluent.security.auth.metadata.AuthStore
-
Field Summary
FieldsFields inherited from interface io.confluent.security.auth.metadata.AuthStore
INSTANCES -
Constructor Summary
ConstructorsConstructorDescriptionExternalKafkaAuthStore(io.confluent.security.authorizer.Scope scope, org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo) ExternalKafkaAuthStore(io.confluent.security.authorizer.Scope scope, org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo, io.confluent.security.roledefinitions.RbacRoles rbacRoles) -
Method Summary
Modifier and TypeMethodDescriptionactiveNodeUrls(String protocol) io.confluent.security.auth.metadata.AuthCachevoidclose()voidbooleanmasterWriterUrl(String protocol) startService(Collection<URL> serverUrls) io.confluent.security.trustservice.store.TrustCachevoidupdateStoreAuthCacheExternally(byte[] key, byte[] value) io.confluent.security.auth.metadata.AuthWriterwriter()
-
Field Details
-
METRIC_GROUP
- See Also:
-
-
Constructor Details
-
ExternalKafkaAuthStore
public ExternalKafkaAuthStore(io.confluent.security.authorizer.Scope scope, org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo) -
ExternalKafkaAuthStore
public ExternalKafkaAuthStore(io.confluent.security.authorizer.Scope scope, org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo, io.confluent.security.roledefinitions.RbacRoles rbacRoles)
-
-
Method Details
-
startReader
- Specified by:
startReaderin interfaceio.confluent.security.auth.metadata.AuthStore
-
startService
- Specified by:
startServicein interfaceio.confluent.security.auth.metadata.AuthStore
-
authCache
public io.confluent.security.auth.metadata.AuthCache authCache()- Specified by:
authCachein interfaceio.confluent.security.auth.metadata.AuthStore
-
trustCache
public io.confluent.security.trustservice.store.TrustCache trustCache()- Specified by:
trustCachein interfaceio.confluent.security.auth.metadata.AuthStore
-
writer
public io.confluent.security.auth.metadata.AuthWriter writer()- Specified by:
writerin interfaceio.confluent.security.auth.metadata.AuthStore
-
isMasterWriter
public boolean isMasterWriter()- Specified by:
isMasterWriterin interfaceio.confluent.security.auth.metadata.AuthStore
-
masterWriterUrl
-
masterWriterId
- Specified by:
masterWriterIdin interfaceio.confluent.security.auth.metadata.AuthStore
-
activeNodeUrls
- Specified by:
activeNodeUrlsin interfaceio.confluent.security.auth.metadata.AuthStore
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
configure
-
updateStoreAuthCacheExternally
public void updateStoreAuthCacheExternally(byte[] key, byte[] value) - Specified by:
updateStoreAuthCacheExternallyin interfaceio.confluent.security.auth.metadata.AuthStore
-