void |
DefaultRoleManager.assignRole(String roleId,
String principal) |
|
void |
RoleManager.assignRole(String roleId,
String principal) |
Assigns the role indicated by the roleId to the given principal
|
void |
DefaultRoleManager.assignRoleByName(String roleName,
String principal) |
|
void |
RoleManager.assignRoleByName(String roleName,
String principal) |
Assigns the role indicated by the roleName to the given principal
|
void |
DefaultRoleManager.assignTemplatedRole(String templateId,
String resource,
String principal) |
|
void |
RoleManager.assignTemplatedRole(String templateId,
String resource,
String principal) |
Assigns the templated role indicated by the templateId
fails if the templated role has not been created
|
String |
DefaultRoleManager.createTemplatedRole(String templateId,
String resource) |
create a role for the given roleName using the resource passed in for
resolving the ${resource} expression
|
String |
RoleManager.createTemplatedRole(String templateId,
String resource) |
locate a role with the corresponding name and generate it with the given resource, ${resource}
in the model will be replaced with this resource string, if this resource does not exist, it
will be created.
|
void |
DefaultRoleManager.loadApplication(ModelApplication app) |
|
void |
DefaultRoleManager.loadRoleModel(URL resource) |
|
void |
DefaultRoleManager.loadRoleModel(RedbackRoleModel roleModel) |
|
void |
RoleManager.loadRoleModel(URL resourceLocation) |
load the model and create/verify operations, resources, etc exist and make static roles
|
void |
RoleManager.loadRoleModel(RedbackRoleModel model) |
|
String |
DefaultRoleManager.moveTemplatedRole(String templateId,
String oldResource,
String newResource) |
update the role from templateId from oldResource to newResource
NOTE: this requires removal and creation of the role since the jdo store does not tolerate renaming
because of the use of the name as an identifier
|
String |
RoleManager.moveTemplatedRole(String templateId,
String oldResource,
String newResource) |
Moves the instance of the templated role from the old resource to the new resource and updates the
user assignments.
|
void |
DefaultRoleManager.removeTemplatedRole(String templateId,
String resource) |
remove the role corresponding to the role using the resource passed in for resolving the
${resource} expression
|
void |
RoleManager.removeTemplatedRole(String templateId,
String resource) |
removes a role corresponding to the role Id that was manufactured with the given resource
it also removes any user assignments for that role
|
boolean |
DefaultRoleManager.roleExists(String roleId) |
|
boolean |
RoleManager.roleExists(String roleId) |
true of a role exists with the given roleId
|
boolean |
DefaultRoleManager.templatedRoleExists(String templateId,
String resource) |
|
boolean |
RoleManager.templatedRoleExists(String templateId,
String resource) |
true of a role exists with the given roleId
|
void |
DefaultRoleManager.unassignRole(String roleId,
String principal) |
|
void |
RoleManager.unassignRole(String roleId,
String principal) |
Unassigns the role indicated by the role id from the given principal
|
void |
DefaultRoleManager.unassignRoleByName(String roleName,
String principal) |
|
void |
RoleManager.unassignRoleByName(String roleName,
String principal) |
Unassigns the role indicated by the role name from the given principal
|
void |
DefaultRoleManager.verifyTemplatedRole(String templateId,
String resource) |
|
void |
RoleManager.verifyTemplatedRole(String templateID,
String resource) |
Check a role template is complete in the RBAC store.
|