public class RoleBindingKey extends AuthKey
Constructor and Description |
---|
RoleBindingKey(org.apache.kafka.common.security.auth.KafkaPrincipal principal,
String role,
io.confluent.security.authorizer.Scope scope) |
Modifier and Type | Method and Description |
---|---|
AuthEntryType |
entryType() |
boolean |
equals(Object o) |
int |
hashCode()
Using entryType().name() to compute hashCode, so that hashCode() is constant across executions.
|
org.apache.kafka.common.security.auth.KafkaPrincipal |
principal() |
String |
role() |
io.confluent.security.authorizer.Scope |
scope() |
String |
toString() |
public RoleBindingKey(org.apache.kafka.common.security.auth.KafkaPrincipal principal, String role, io.confluent.security.authorizer.Scope scope)
public org.apache.kafka.common.security.auth.KafkaPrincipal principal()
public String role()
public io.confluent.security.authorizer.Scope scope()
public AuthEntryType entryType()
public int hashCode()
AuthKey