public class AccessPolicy
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AccessPolicy.ResourceOperations |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLUSTER_SCOPE |
static java.lang.String |
RESOURCE_SCOPE |
Constructor and Description |
---|
AccessPolicy(java.lang.String scopeType,
java.util.Collection<AccessPolicy.ResourceOperations> allowedOperations) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<AccessPolicy.ResourceOperations> |
allowedOperations() |
java.util.Collection<io.confluent.security.authorizer.Operation> |
allowedOperations(io.confluent.security.authorizer.ResourceType resourceType) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
hasResourceScope() |
java.lang.String |
scopeType() |
public static final java.lang.String CLUSTER_SCOPE
public static final java.lang.String RESOURCE_SCOPE
public AccessPolicy(java.lang.String scopeType, java.util.Collection<AccessPolicy.ResourceOperations> allowedOperations)
public java.lang.String scopeType()
public java.util.Collection<AccessPolicy.ResourceOperations> allowedOperations()
public java.util.Collection<io.confluent.security.authorizer.Operation> allowedOperations(io.confluent.security.authorizer.ResourceType resourceType)
public boolean hasResourceScope()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object