|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.rbac.RoleManagementJspBean
public class RoleManagementJspBean
This class provides methods for role management.
Field Summary | |
---|---|
static String |
RIGHT_MANAGE_ROLES
Right to manage RBAC |
Constructor Summary | |
---|---|
RoleManagementJspBean()
|
Method Summary | |
---|---|
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 |
getModifyRole(javax.servlet.http.HttpServletRequest request)
Get the role modification page. |
String |
getSelectPermissions(javax.servlet.http.HttpServletRequest request)
Get the permission selection page. 2 methods are provided : wildcard selection : all permissions for this type are selected. |
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 |
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean |
---|
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, init, populate, setFeatureIcon, setPageTitleProperty, validate, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RIGHT_MANAGE_ROLES
Constructor Detail |
---|
public RoleManagementJspBean()
Method Detail |
---|
public String getManageRoles(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String getCreateRole(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String doCreateRole(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String getModifyRole(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String doModifyRole(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String doConfirmRemoveRole(javax.servlet.http.HttpServletRequest request)
request
- the HTTP request
public String doRemoveRole(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String getViewRoleDescription(javax.servlet.http.HttpServletRequest request)
request
- the HTTP request
public String doConfirmRemoveControlFromRole(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String doRemoveControlFromRole(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String getAddControlToRole(javax.servlet.http.HttpServletRequest request)
request
- the HTTP request
public String doSelectResources(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String getSelectSpecificIds(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String doSelectResourcesFromIdsList(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String getSelectPermissions(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String doSelectPermissions(javax.servlet.http.HttpServletRequest request)
request
- the http request
public String getAssignUsers(javax.servlet.http.HttpServletRequest request)
request
- The Http request
public String doAssignUsers(javax.servlet.http.HttpServletRequest request)
request
- The HTTP Request
public String doUnAssignUser(javax.servlet.http.HttpServletRequest request)
request
- The HttpRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |