public class PermissionUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PERM_QUERY |
static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
PermissionUtil() |
Modifier and Type | Method and Description |
---|---|
static com.marklogic.xcc.ContentCapability |
getCapbility(String cap) |
static List<com.marklogic.xcc.ContentPermission> |
getDefaultPermissions(org.apache.hadoop.conf.Configuration conf,
LinkedMapWritable roleMap) |
static List<com.marklogic.xcc.ContentPermission> |
getPermissions(String[] perms)
Get a list of ContentPermission from given string
|
public static final org.apache.commons.logging.Log LOG
public static final String DEFAULT_PERM_QUERY
public static List<com.marklogic.xcc.ContentPermission> getPermissions(String[] perms)
perms
- a string of role-name,capability pais, separated by commnapublic static List<com.marklogic.xcc.ContentPermission> getDefaultPermissions(org.apache.hadoop.conf.Configuration conf, LinkedMapWritable roleMap) throws IOException
IOException
public static com.marklogic.xcc.ContentCapability getCapbility(String cap)
Copyright © 2020 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com