public class JCRAccessControlManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMINISTRATOR |
static String |
READ_ONLY |
static String |
WRITE_ALL |
static String |
WRITE_OWNER |
| Constructor and Description |
|---|
JCRAccessControlManager(javax.jcr.Session session,
String login) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddChildren(String absPath)
Can add children
|
boolean |
canDelete(String login,
String absPath,
boolean isRoot)
Can delete node
|
Boolean |
canDeleteChildren(String absPath)
Can Delete Children
|
boolean |
canModifyProperties(String login,
String absPath,
Boolean root)
Can modify properties
|
boolean |
canReadNode(String absPath)
Can Read Node
|
Map<String,List<String>> |
getACL(String absPath)
Get ACL
|
Map<String,List<String>> |
getDeniedMap(String absPath)
Get denied Map
|
Map<String,List<String>> |
getEACL(String absPath)
Get EACL map
|
public static final String WRITE_ALL
public static final String ADMINISTRATOR
public static final String READ_ONLY
public static final String WRITE_OWNER
public JCRAccessControlManager(javax.jcr.Session session,
String login)
public Map<String,List<String>> getACL(String absPath) throws Exception
absPath - Exceptionpublic Map<String,List<String>> getDeniedMap(String absPath) throws Exception
absPath - Exceptionpublic Map<String,List<String>> getEACL(String absPath) throws Exception
absPath - Exceptionpublic boolean canModifyProperties(String login, String absPath, Boolean root) throws Exception
login - absPath - root - Exceptionpublic boolean canAddChildren(String absPath) throws Exception
absPath - Exceptionpublic boolean canDelete(String login, String absPath, boolean isRoot) throws Exception
login - absPath - isRoot - Exceptionpublic Boolean canDeleteChildren(String absPath)
absPath - Copyright © 2019. All Rights Reserved.