Class RoleBindingKey

java.lang.Object
io.confluent.security.auth.store.data.AuthKey
io.confluent.security.auth.store.data.RoleBindingKey

public class RoleBindingKey extends AuthKey
  • Constructor Summary

    Constructors
    Constructor
    Description
    RoleBindingKey(org.apache.kafka.common.security.auth.KafkaPrincipal principal, String role, io.confluent.security.authorizer.Scope scope)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    int
    Using entryType().name() to compute hashCode, so that hashCode() is constant across executions.
    org.apache.kafka.common.security.auth.KafkaPrincipal
     
     
    io.confluent.security.authorizer.Scope
     
     

    Methods inherited from class java.lang.Object

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

    • RoleBindingKey

      public RoleBindingKey(org.apache.kafka.common.security.auth.KafkaPrincipal principal, String role, io.confluent.security.authorizer.Scope scope)
  • Method Details

    • principal

      public org.apache.kafka.common.security.auth.KafkaPrincipal principal()
    • role

      public String role()
    • scope

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

      public AuthEntryType entryType()
      Specified by:
      entryType in class AuthKey
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AuthKey
    • hashCode

      public int hashCode()
      Description copied from class: AuthKey
      Using entryType().name() to compute hashCode, so that hashCode() is constant across executions.
      Overrides:
      hashCode in class AuthKey
    • toString

      public String toString()
      Overrides:
      toString in class Object