Class RbacAccessRule

java.lang.Object
io.confluent.security.authorizer.AccessRule
io.confluent.security.rbac.RbacAccessRule
All Implemented Interfaces:
io.confluent.security.authorizer.AuthorizePolicy

public class RbacAccessRule extends io.confluent.security.authorizer.AccessRule
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.confluent.security.authorizer.AuthorizePolicy

    io.confluent.security.authorizer.AuthorizePolicy.BrokerTypeTopicUser, io.confluent.security.authorizer.AuthorizePolicy.BrokerUser, io.confluent.security.authorizer.AuthorizePolicy.NoMatchingRule, io.confluent.security.authorizer.AuthorizePolicy.PolicyType, io.confluent.security.authorizer.AuthorizePolicy.SuperUser
  • Field Summary

    Fields inherited from class io.confluent.security.authorizer.AccessRule

    ALL_HOSTS, GROUP_PRINCIPAL_TYPE, WILDCARD_GROUP_PRINCIPAL, WILDCARD_USER_PRINCIPAL

    Fields inherited from interface io.confluent.security.authorizer.AuthorizePolicy

    ALLOW_ON_NO_RULE, DENY_ON_NO_RULE, NO_MATCHING_RULE
  • Constructor Summary

    Constructors
    Constructor
    Description
    RbacAccessRule(io.confluent.security.authorizer.ResourcePattern resourcePattern, org.apache.kafka.common.security.auth.KafkaPrincipal principal, io.confluent.security.roledefinitions.PermissionType permissionType, String host, io.confluent.security.roledefinitions.Operation operation, io.confluent.security.authorizer.AuthorizePolicy.PolicyType policyType, RoleBinding roleBinding)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     
    io.confluent.security.authorizer.Scope
     
     

    Methods inherited from class io.confluent.security.authorizer.AccessRule

    asBaseKafkaPrincipal, clusterLinkIds, host, matches, matches, matches, matches, matchingPrincipals, operation, permissionType, policyType, principal, resourcePattern

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RbacAccessRule

      public RbacAccessRule(io.confluent.security.authorizer.ResourcePattern resourcePattern, org.apache.kafka.common.security.auth.KafkaPrincipal principal, io.confluent.security.roledefinitions.PermissionType permissionType, String host, io.confluent.security.roledefinitions.Operation operation, io.confluent.security.authorizer.AuthorizePolicy.PolicyType policyType, RoleBinding roleBinding)
  • Method Details

    • role

      public String role()
    • scope

      public io.confluent.security.authorizer.Scope scope()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class io.confluent.security.authorizer.AccessRule
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class io.confluent.security.authorizer.AccessRule
    • toString

      public String toString()
      Overrides:
      toString in class io.confluent.security.authorizer.AccessRule