Class AccessControlJspBean
java.lang.Object
fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
fr.paris.lutece.plugins.accesscontrol.web.AbstractManageAccessControlJspBean
fr.paris.lutece.plugins.accesscontrol.web.AccessControlJspBean
- All Implemented Interfaces:
Serializable
@SessionScoped
@Named
@Controller(controllerJsp="ManageAccessControls.jsp",
controllerPath="jsp/admin/plugins/accesscontrol/",
right="ACCESSCONTROL_MANAGEMENT",
securityTokenEnabled=true)
public class AccessControlJspBean
extends AbstractManageAccessControlJspBean
This class provides the user interface to manage AccessControl features ( manage, create, modify, remove )
- See Also:
-
Field Summary
FieldsFields inherited from class fr.paris.lutece.plugins.accesscontrol.web.AbstractManageAccessControlJspBean
RIGHT_MANAGEACCESSCONTROL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncancelModifyConfigController(jakarta.servlet.http.HttpServletRequest request) Cancel the modification form of a accesscontroller whose identifier is in the http requestdoChangeControllerCondition(jakarta.servlet.http.HttpServletRequest request) Change the condition of the controllerdoChangeControllerOrder(jakarta.servlet.http.HttpServletRequest request) Change the order of the controllerdoCreateAccessControl(jakarta.servlet.http.HttpServletRequest request) Process the data capture form of a new accesscontroldoCreateController(jakarta.servlet.http.HttpServletRequest request) Create a newAccessControllerdoDisableAccessControl(jakarta.servlet.http.HttpServletRequest request) Disables the accesscontroldoEnableAccessControl(jakarta.servlet.http.HttpServletRequest request) Enables the accesscontroldoModifyAccessControl(jakarta.servlet.http.HttpServletRequest request) Process the change form of a accesscontroldoModifyConfigController(jakarta.servlet.http.HttpServletRequest request) Do the modification form of a accesscontroller whose identifier is in the http requestdoRemoveAccessControl(jakarta.servlet.http.HttpServletRequest request) Handles the removal form of a accesscontroldoRemoveAccessController(jakarta.servlet.http.HttpServletRequest request) Handles the removal form of a accesscontrollergetConfirmDisableAccessControl(jakarta.servlet.http.HttpServletRequest request) Asks the confirmation of the deactivation of the accesscontrol whose identifier is in the http request; the confirmation posts the deactivationgetConfirmEnableAccessControl(jakarta.servlet.http.HttpServletRequest request) Asks the confirmation of the activation of the accesscontrol whose identifier is in the http request; the confirmation posts the activationgetConfirmRemoveAccessControl(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a accesscontrol whose identifier is in the http requestgetConfirmRemoveAccessController(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a accesscontroller whose identifier is in the http requestgetCreateAccessControl(jakarta.servlet.http.HttpServletRequest request) Returns the form to create a accesscontrolgetManageAccessControls(jakarta.servlet.http.HttpServletRequest request) Build the Manage ViewgetModifyAccessControl(jakarta.servlet.http.HttpServletRequest request) Returns the form to update info about a accesscontrolgetModifyConfigController(jakarta.servlet.http.HttpServletRequest request) Manages the modification form of a accesscontroller whose identifier is in the http requestprocessController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) The RBAC permission of the requested view or action is checked on the access control it concerns: the list only displays the authorized actions, a request built by hand must be refused tooMethods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, initMethods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_MANAGE_ACCESS_CONTROL
- See Also:
-
-
Constructor Details
-
AccessControlJspBean
public AccessControlJspBean()
-
-
Method Details
-
processController
public String processController(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws fr.paris.lutece.portal.service.admin.AccessDeniedException The RBAC permission of the requested view or action is checked on the access control it concerns: the list only displays the authorized actions, a request built by hand must be refused too- Overrides:
processControllerin classfr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getManageAccessControls
@View(value="manageAccessControls", defaultView=true) public String getManageAccessControls(jakarta.servlet.http.HttpServletRequest request) Build the Manage View- Parameters:
request- The HTTP request- Returns:
- The page
-
getCreateAccessControl
@View("createAccessControl") public String getCreateAccessControl(jakarta.servlet.http.HttpServletRequest request) Returns the form to create a accesscontrol- Parameters:
request- The Http request- Returns:
- the html code of the accesscontrol form
-
doCreateAccessControl
@Action("createAccessControl") public String doCreateAccessControl(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Process the data capture form of a new accesscontrol- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getConfirmRemoveAccessControl
@View(value="confirmRemoveAccessControl", securityTokenAction="removeAccessControl") public String getConfirmRemoveAccessControl(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a accesscontrol whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
getConfirmRemoveAccessController
@View(value="confirmRemoveAccessController", securityTokenAction="removeAccessController") public String getConfirmRemoveAccessController(jakarta.servlet.http.HttpServletRequest request) Manages the removal form of a accesscontroller whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
-
getModifyConfigController
@View("modifyConfigController") public String getModifyConfigController(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Manages the modification form of a accesscontroller whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doModifyConfigController
@Action("modifyConfigController") public String doModifyConfigController(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Do the modification form of a accesscontroller whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
cancelModifyConfigController
@Action(value="cancelModifyConfigController", securityTokenDisabled=true) public String cancelModifyConfigController(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Cancel the modification form of a accesscontroller whose identifier is in the http request- Parameters:
request- The Http request- Returns:
- the html code to confirm
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
doRemoveAccessControl
@Action("removeAccessControl") public String doRemoveAccessControl(jakarta.servlet.http.HttpServletRequest request) Handles the removal form of a accesscontrol- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage accesscontrols
-
doRemoveAccessController
@Action("removeAccessController") public String doRemoveAccessController(jakarta.servlet.http.HttpServletRequest request) Handles the removal form of a accesscontroller- Parameters:
request- The Http request- Returns:
- the jsp URL to display the form to manage accesscontrols
-
getModifyAccessControl
@View("modifyAccessControl") public String getModifyAccessControl(jakarta.servlet.http.HttpServletRequest request) Returns the form to update info about a accesscontrol- Parameters:
request- The Http request- Returns:
- The HTML form to update info
-
doModifyAccessControl
@Action("modifyAccessControl") public String doModifyAccessControl(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.admin.AccessDeniedException Process the change form of a accesscontrol- Parameters:
request- The Http request- Returns:
- The Jsp URL of the process result
- Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException
-
getConfirmEnableAccessControl
@View(value="confirmEnableAccessControl", securityTokenAction="enableAccessControl") public String getConfirmEnableAccessControl(jakarta.servlet.http.HttpServletRequest request) Asks the confirmation of the activation of the accesscontrol whose identifier is in the http request; the confirmation posts the activation- Parameters:
request- The Http request- Returns:
- the url of the confirmation message
-
getConfirmDisableAccessControl
@View(value="confirmDisableAccessControl", securityTokenAction="disableAccessControl") public String getConfirmDisableAccessControl(jakarta.servlet.http.HttpServletRequest request) Asks the confirmation of the deactivation of the accesscontrol whose identifier is in the http request; the confirmation posts the deactivation- Parameters:
request- The Http request- Returns:
- the url of the confirmation message
-
doEnableAccessControl
@Action("enableAccessControl") public String doEnableAccessControl(jakarta.servlet.http.HttpServletRequest request) Enables the accesscontrol- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
-
doDisableAccessControl
@Action("disableAccessControl") public String doDisableAccessControl(jakarta.servlet.http.HttpServletRequest request) Disables the accesscontrol- Parameters:
request- The Http Request- Returns:
- The Jsp URL of the process result
-
doCreateController
@Action(value="createController", securityTokenDisabled=true) public String doCreateController(jakarta.servlet.http.HttpServletRequest request) Create a newAccessController- Parameters:
request-- Returns:
-
doChangeControllerCondition
@Action(value="changeCondition", securityTokenDisabled=true) public String doChangeControllerCondition(jakarta.servlet.http.HttpServletRequest request) Change the condition of the controller- Parameters:
request-- Returns:
-
doChangeControllerOrder
@Action(value="changeOrder", securityTokenDisabled=true) public String doChangeControllerOrder(jakarta.servlet.http.HttpServletRequest request) Change the order of the controller- Parameters:
request-- Returns:
-