public final class ACE extends Object implements Serializable, Cloneable
Optionally, the assignment can be denied instead of being granted.
Modifier and Type | Field and Description |
---|---|
static ACE |
BLOCK
An ACE that blocks all permissions for everyone.
|
Constructor and Description |
---|
ACE() |
ACE(String username,
String permission)
Constructs an ACE for a given username and permission.
|
ACE(String username,
String permission,
boolean isGranted)
Constructs an ACE for a given username and permission, and specifies whether to grant or deny it.
|
public static final ACE BLOCK
public ACE(String username, String permission)
The ACE is granted.
public ACE(String username, String permission, boolean isGranted)
public ACE()
public String getUsername()
public String getPermission()
public boolean isGranted()
public boolean isDenied()
Copyright © 2015 Nuxeo SA. All rights reserved.