Class UserKey

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

public class UserKey extends AuthKey
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserKey(org.apache.kafka.common.security.auth.KafkaPrincipal principal)
     
  • 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
     
     

    Methods inherited from class java.lang.Object

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

    • UserKey

      public UserKey(org.apache.kafka.common.security.auth.KafkaPrincipal principal)
  • Method Details

    • principal

      public org.apache.kafka.common.security.auth.KafkaPrincipal principal()
    • 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