public class ACLProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static QName |
ACE
Defines the name of the element corresponding to a property that the set of privileges
to be either granted or denied to a single principal.
|
static QName |
ACL
Defines the name of the element corresponding to a protected property that specifies
the list of access control entries.
|
static QName |
ALL
Defines the name of the element corresponding to a property that can be either an aggregate
privilege that contains the entire set of privileges that can be applied to the resource or
an aggregate principal that contains the entire set of principals.
|
static QName |
DENY
Defines the name of the element containing privileges to be denied.
|
static QName |
GRANT
Defines the name of the element containing privileges to be granted.
|
static QName |
HREF
Defines the name of the element corresponding to a property which is used to uniquely
identify a principal.
|
static QName |
PRINCIPAL
Defines the name of the element corresponding to a property which identifies the principal
to which this ACE applies.
|
static QName |
PRIVILEGE
Defines the name of the element containing privilege's name.
|
static QName |
READ
Defines the name of the element corresponding to read privilege
which in current implementation aggregate:
READ permission.
|
static QName |
WRITE
Defines the name of the element corresponding to write privilege
which in current implementation aggregate:
ADD_NODE, SET_PROPERTY, REMOVE permissions.
|
| Constructor and Description |
|---|
ACLProperties() |
| Modifier and Type | Method and Description |
|---|---|
static org.exoplatform.common.util.HierarchicalProperty |
getACL(org.exoplatform.services.jcr.impl.core.NodeImpl node)
Gets
AccessControlList and transform it to DAV:acl property view
represented by a HierarchicalProperty instance. |
static org.exoplatform.common.util.HierarchicalProperty |
getOwner(org.exoplatform.services.jcr.impl.core.NodeImpl node)
Transform owner got from node's
AccessControlList
to tree like HierarchicalProperty instance to use in PROPFIND response body |
public static final QName ACL
public static final QName ACE
public static final QName PRINCIPAL
public static final QName ALL
public static final QName HREF
public static final QName PRIVILEGE
public static final QName GRANT
public static final QName DENY
public static final QName WRITE
public static org.exoplatform.common.util.HierarchicalProperty getACL(org.exoplatform.services.jcr.impl.core.NodeImpl node)
throws javax.jcr.RepositoryException
AccessControlList and transform it to DAV:acl property view
represented by a HierarchicalProperty instance.node - - NodeImpl from which we are to get an ACLjavax.jcr.RepositoryExceptionpublic static org.exoplatform.common.util.HierarchicalProperty getOwner(org.exoplatform.services.jcr.impl.core.NodeImpl node)
throws javax.jcr.RepositoryException
AccessControlList
to tree like HierarchicalProperty instance to use in PROPFIND response bodynode - HierarchicalProperty representation of node ownerjavax.jcr.RepositoryExceptionCopyright © 2016 eXo Platform SAS. All Rights Reserved.