Class AuthnzServerAuthorizer
java.lang.Object
io.confluent.security.authorizer.EmbeddedAuthorizer
io.confluent.security.auth.dataplane.AuthnzServerAuthorizer
- All Implemented Interfaces:
io.confluent.security.authorizer.Authorizer,Closeable,AutoCloseable,org.apache.kafka.common.Configurable,org.apache.kafka.server.authorizer.ProviderGetter
public class AuthnzServerAuthorizer
extends io.confluent.security.authorizer.EmbeddedAuthorizer
Cross-component embedded authorizer that implements common authorization logic. This
authorizer loads configured providers and uses them to perform authorization.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.confluent.security.authorizer.EmbeddedAuthorizer
io.confluent.security.authorizer.EmbeddedAuthorizer.AuthorizerMetrics -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidconfigureServerInfo(org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo) start(org.apache.kafka.common.metrics.Metrics metrics) start(org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo, Runnable initTask) Methods inherited from class io.confluent.security.authorizer.EmbeddedAuthorizer
accessRuleProvider, accessRuleProviders, auditLogProvider, authorize, clearAuthorizerProvidersMap, close, getRbacGroupProvider, groupProvider, metadataProvider, removeFromAuthorizerProvidersMapMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.confluent.security.authorizer.Authorizer
authorize, authorize, authorize
-
Constructor Details
-
AuthnzServerAuthorizer
public AuthnzServerAuthorizer()
-
-
Method Details
-
configure
-
start
-
configureServerInfo
public void configureServerInfo(org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo) - Overrides:
configureServerInfoin classio.confluent.security.authorizer.EmbeddedAuthorizer
-
start
public CompletableFuture<Void> start(org.apache.kafka.server.authorizer.internals.ConfluentAuthorizerServerInfo serverInfo, Runnable initTask) - Overrides:
startin classio.confluent.security.authorizer.EmbeddedAuthorizer
-