@InterfaceStability.Evolving public class AccessControlEntry extends Object
| Constructor and Description |
|---|
AccessControlEntry(String principal, String host, AclOperation operation, AclPermissionType permissionType)Create an instance of an access control entry with the provided parameters. |
AccessControlEntry(String principal, String host, AclOperation operation, AclPermissionType permissionType, Collection<Uuid> clusterLinkIds)Create an instance of an access control entry with the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
Collection<Uuid> | clusterLinkIds() |
boolean | equals(Object o) |
int | hashCode() |
String | host()Return the host or `*` for all hosts. |
boolean | isUnknown()Return true if this AclResource has any UNKNOWN components. |
AclOperation | operation()Return the AclOperation. |
AclPermissionType | permissionType()Return the AclPermissionType. |
String | principal()Return the principal for this entry. |
AccessControlEntryFilter | toFilter()Create a filter which matches only this AccessControlEntry. |
String | toString() |
public AccessControlEntry(String principal, String host, AclOperation operation, AclPermissionType permissionType)
principal - non-null principalhost - non-null hostoperation - non-null operation, ANY is not an allowed operationpermissionType - non-null permission type, ANY is not an allowed typepublic AccessControlEntry(String principal, String host, AclOperation operation, AclPermissionType permissionType, Collection<Uuid> clusterLinkIds)
principal - non-null principalhost - non-null hostoperation - non-null operation, ANY is not an allowed operationpermissionType - non-null permission type, ANY is not an allowed typeclusterLinkIds - Cluster link ids associated with this ACL or empty collection if not migrated by a linkpublic String principal()
public String host()
public AclOperation operation()
public AclPermissionType permissionType()
@Confluent public Collection<Uuid> clusterLinkIds()
public AccessControlEntryFilter toFilter()
public boolean isUnknown()