Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.api.security
Interface ACL

All Superinterfaces:
java.lang.Cloneable, java.util.Collection<ACE>, java.lang.Iterable<ACE>, java.util.List<ACE>, java.io.Serializable
All Known Implementing Classes:
ACLImpl

public interface ACL
extends java.util.List<ACE>, java.io.Serializable, java.lang.Cloneable

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:

ACLs that are used by external modules cannot be modified by the user through the security UI. These ACLs should be modified only programmaticaly by the tool that added them.

Author:
Bogdan Stefanescu

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

LOCAL_ACL

static final java.lang.String LOCAL_ACL
See Also:
Constant Field Values

INHERITED_ACL

static final java.lang.String INHERITED_ACL
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Gets the ACL name.

Returns:
the ACL name

getACEs

ACE[] getACEs()
Gets the ACEs defined by this list as an array.

Returns:

setACEs

void setACEs(ACE[] aces)
Sets the ACEs defined by this ACL.

Parameters:
aces - the ACE array

clone

java.lang.Object clone()
Returns a recursive copy of the ACL sharing no mutable substructure with the original.

Returns:
a copy

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.