public interface AccessControlManagementMBean
Modifier and Type | Field and Description |
---|---|
static String |
MBEAN_NAME |
static String |
OBJECT_NAME |
Modifier and Type | Method and Description |
---|---|
void |
addPermissionsToRole(String role,
String[]... permissions) |
void |
addRhinoPermissionMapping(String opcodePattern,
String opcodeOperand,
String rhinoPermissionCategory,
String rhinoPermissionSubcategory) |
boolean[] |
checkMBeanPatternPermissions(String[][] mbeanPatternPermissions) |
void |
createRole(String role) |
void |
createRole(String role,
String baseRole) |
String[] |
getAllPermissions() |
boolean |
getPermissionLogging() |
String[][] |
getPermissionMappings() |
String[][] |
getPermissionsForRole(String role,
boolean allPermissions) |
String[] |
getRoles() |
String[] |
getRolesForCurrentUser() |
void |
removePermissionsFromRole(String role,
String[]... permissions) |
void |
removeRhinoPermissionMapping(String opcodePattern,
String opcodeOperand,
String rhinoPermissionCategory,
String rhinoPermissionSubcategory) |
void |
removeRole(String role) |
void |
setPermissionLogging(boolean onOff) |
void |
setRolePermissions(String role,
String[]... permissions) |
static final String MBEAN_NAME
static final String OBJECT_NAME
String[] getRoles() throws ConfigurationException
ConfigurationException
void createRole(String role) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
void createRole(String role, String baseRole) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
void removeRole(String role) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
String[] getRolesForCurrentUser() throws ConfigurationException
ConfigurationException
String[] getAllPermissions() throws ConfigurationException
ConfigurationException
String[][] getPermissionsForRole(String role, boolean allPermissions) throws ConfigurationException
ConfigurationException
boolean[] checkMBeanPatternPermissions(String[][] mbeanPatternPermissions)
void setRolePermissions(String role, String[]... permissions) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
void addPermissionsToRole(String role, String[]... permissions) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
void removePermissionsFromRole(String role, String[]... permissions) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
void addRhinoPermissionMapping(String opcodePattern, String opcodeOperand, String rhinoPermissionCategory, String rhinoPermissionSubcategory) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
void removeRhinoPermissionMapping(String opcodePattern, String opcodeOperand, String rhinoPermissionCategory, String rhinoPermissionSubcategory) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException
String[][] getPermissionMappings() throws ConfigurationException
ConfigurationException
boolean getPermissionLogging() throws ConfigurationException
ConfigurationException
void setPermissionLogging(boolean onOff) throws ConfigurationException, com.opencloud.util.exception.ValidationException
ConfigurationException
com.opencloud.util.exception.ValidationException