public class RoleManagementJspBean extends AdminFeaturesPageJspBean
Modifier and Type | Field and Description |
---|---|
static String |
RIGHT_MANAGE_ROLES
Right to manage RBAC
|
Constructor and Description |
---|
RoleManagementJspBean() |
Modifier and Type | Method and Description |
---|---|
String |
doAssignUsers(javax.servlet.http.HttpServletRequest request)
Process the data capture form for assign users to a role
|
String |
doConfirmRemoveControlFromRole(javax.servlet.http.HttpServletRequest request)
Get the confirmation page before deletion of a control
|
String |
doConfirmRemoveRole(javax.servlet.http.HttpServletRequest request)
Get the confirmation page before deletion of a role
|
String |
doCreateRole(javax.servlet.http.HttpServletRequest request)
Perform the role creation.
|
String |
doModifyRole(javax.servlet.http.HttpServletRequest request)
Performs the modification of the role's key and description.
|
String |
doRemoveControlFromRole(javax.servlet.http.HttpServletRequest request)
Perform the role deletion.
|
String |
doRemoveRole(javax.servlet.http.HttpServletRequest request)
Perform the role deletion.
|
String |
doSelectPermissions(javax.servlet.http.HttpServletRequest request)
Perform the checks on the permission selection and redirects to the description of the role if ok.
|
String |
doSelectResources(javax.servlet.http.HttpServletRequest request)
Perform the checks on the resource selection method and perform the suitable redirection.
|
String |
doSelectResourcesFromIdsList(javax.servlet.http.HttpServletRequest request)
Perform the check on the resource id list selected on the specific id selection page perform the suitable redirection.
|
String |
doUnAssignUser(javax.servlet.http.HttpServletRequest request)
unassigns user from role
|
String |
getAddControlToRole(javax.servlet.http.HttpServletRequest request)
Get the first page of the control addition to a role.
|
String |
getAssignUsers(javax.servlet.http.HttpServletRequest request)
Returns the users assignation form
|
String |
getCreateRole(javax.servlet.http.HttpServletRequest request)
Get the role creation page.
|
String |
getManageRoles(javax.servlet.http.HttpServletRequest request)
Get the roles management page.
|
String |
getSelectPermissions(javax.servlet.http.HttpServletRequest request)
Get the permission selection page.
|
String |
getSelectSpecificIds(javax.servlet.http.HttpServletRequest request)
Get the list of ids corresponding to the current resource type.
|
String |
getViewRoleDescription(javax.servlet.http.HttpServletRequest request)
Get the page describing a role and the resource associated
|
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
public static final String RIGHT_MANAGE_ROLES
public String getManageRoles(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic String getCreateRole(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic String doCreateRole(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- the http requestAccessDeniedException
- if the security token is invalidpublic String doModifyRole(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- the http requestAccessDeniedException
- if the security token is invalidpublic String doConfirmRemoveRole(javax.servlet.http.HttpServletRequest request)
request
- the HTTP requestpublic String doRemoveRole(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- the http requestAccessDeniedException
- if the security token is invalidpublic String getViewRoleDescription(javax.servlet.http.HttpServletRequest request)
request
- the HTTP requestpublic String doConfirmRemoveControlFromRole(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic String doRemoveControlFromRole(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- the http requestAccessDeniedException
- if the security token is invalidpublic String getAddControlToRole(javax.servlet.http.HttpServletRequest request)
request
- the HTTP requestpublic String doSelectResources(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic String getSelectSpecificIds(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic String doSelectResourcesFromIdsList(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic String getSelectPermissions(javax.servlet.http.HttpServletRequest request)
request
- the http requestpublic String doSelectPermissions(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- the http requestAccessDeniedException
- if the security token is invalidpublic String getAssignUsers(javax.servlet.http.HttpServletRequest request)
request
- The Http requestpublic String doAssignUsers(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- The HTTP RequestAccessDeniedException
- if the security token is invalidpublic String doUnAssignUser(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException
request
- The HttpRequestAccessDeniedException
- if the security token is invalidCopyright © 2020 City of Paris. All rights reserved.