public interface ACL extends List<ACE>, Serializable, Cloneable
An ACP may contain several ACL identified by a name. This is to let external modules add security rules. There are 2 default ACLs:
local
ACL - this is the default type of ACL that may be defined by an user locally to a document
(using a security UI). inherited
- this is a special ACL generated by merging all document parents ACL. This ACL is
read only (cannot be modified locally on the document since it is inherited.
Modifier and Type | Field and Description |
---|---|
static String |
INHERITED_ACL |
static String |
LOCAL_ACL |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a recursive copy of the ACL sharing no mutable substructure with the original.
|
ACE[] |
getACEs()
Gets the ACEs defined by this list as an array.
|
String |
getName()
Gets the ACL name.
|
void |
setACEs(ACE[] aces)
Sets the ACEs defined by this ACL.
|
static final String LOCAL_ACL
static final String INHERITED_ACL
String getName()
ACE[] getACEs()
void setACEs(ACE[] aces)
aces
- the ACE arrayObject clone()
Copyright © 2015 Nuxeo SA. All rights reserved.