|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ACL
An ACL (Access Control List) is a list of ACEs (Access Control Entry).
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.
Field Summary | |
---|---|
static java.lang.String |
INHERITED_ACL
|
static java.lang.String |
LOCAL_ACL
|
Method Summary | |
---|---|
java.lang.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. |
java.lang.String |
getName()
Gets the ACL name. |
void |
setACEs(ACE[] aces)
Sets the ACEs defined by this ACL. |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Field Detail |
---|
static final java.lang.String LOCAL_ACL
static final java.lang.String INHERITED_ACL
Method Detail |
---|
java.lang.String getName()
ACE[] getACEs()
void setACEs(ACE[] aces)
aces
- the ACE arrayjava.lang.Object clone()
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |