public class CloudAuthCache extends DefaultAuthCache
AuthCache.Result
rbacAccessRules, rootScope
Constructor and Description |
---|
CloudAuthCache(io.confluent.security.rbac.RbacRoles rbacRoles,
io.confluent.security.authorizer.Scope rootScope) |
Modifier and Type | Method and Description |
---|---|
io.confluent.security.authorizer.provider.AuthorizeRule |
findRule(org.apache.kafka.common.security.auth.KafkaPrincipal userPrincipal,
Set<org.apache.kafka.common.security.auth.KafkaPrincipal> groupPrincipals,
String host,
io.confluent.security.authorizer.Action action)
Returns RBAC or ACL rule that matches the specified action.
|
aclBindings, aclRules, addMatchingRules, ensureNotFailed, fail, get, groups, healthcheck, identityPool, identityPools, jsonWebKeySet, jsonWebKeySets, knownScopes, map, principalRules, put, rbacRoleBindings, rbacRoleBindings, rbacRoleBindings, rbacRoleBindings, rbacRoleBindings, rbacRoles, remove, rootScope, status, totalAclAccessRules, totalIdentityPools, totalJwtIssuers, totalRbacAccessRules, totalRoleBindings, userMetadata, users
public CloudAuthCache(io.confluent.security.rbac.RbacRoles rbacRoles, io.confluent.security.authorizer.Scope rootScope)
public io.confluent.security.authorizer.provider.AuthorizeRule findRule(org.apache.kafka.common.security.auth.KafkaPrincipal userPrincipal, Set<org.apache.kafka.common.security.auth.KafkaPrincipal> groupPrincipals, String host, io.confluent.security.authorizer.Action action)
AuthCache
findRule
in interface AuthCache
findRule
in class DefaultAuthCache
userPrincipal
- User principalgroupPrincipals
- Set of group principals of the userhost
- Client IP addressaction
- Action to match including resource pattern and operation