@InterfaceStability.Evolving public class Action extends Object
Constructor and Description |
---|
Action(AclOperation operation,
ResourcePattern resourcePattern,
int resourceReferenceCount,
boolean logIfAllowed,
boolean logIfDenied) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
logIfAllowed()
Indicates if audit logs tracking ALLOWED access should include this action if result is
ALLOWED.
|
boolean |
logIfDenied()
Indicates if audit logs tracking DENIED access should include this action if result is
DENIED.
|
AclOperation |
operation()
Operation being performed.
|
ResourcePattern |
resourcePattern()
Resource on which action is being performed.
|
int |
resourceReferenceCount()
Number of times the resource being authorized is referenced within the request.
|
String |
toString() |
public Action(AclOperation operation, ResourcePattern resourcePattern, int resourceReferenceCount, boolean logIfAllowed, boolean logIfDenied)
public ResourcePattern resourcePattern()
public AclOperation operation()
public boolean logIfAllowed()
public boolean logIfDenied()
public int resourceReferenceCount()