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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class fr.paris.lutece.plugins.accesscontrol.web.AbstractManageAccessControlJspBean

    RIGHT_MANAGEACCESSCONTROL
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    cancelModifyConfigController(jakarta.servlet.http.HttpServletRequest request)
    Cancel the modification form of a accesscontroller whose identifier is in the http request
    doChangeControllerCondition(jakarta.servlet.http.HttpServletRequest request)
    Change the condition of the controller
    doChangeControllerOrder(jakarta.servlet.http.HttpServletRequest request)
    Change the order of the controller
    doCreateAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Process the data capture form of a new accesscontrol
    doCreateController(jakarta.servlet.http.HttpServletRequest request)
    Create a new AccessController
    doDisableAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Disables the accesscontrol
    doEnableAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Enables the accesscontrol
    doModifyAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Process the change form of a accesscontrol
    doModifyConfigController(jakarta.servlet.http.HttpServletRequest request)
    Do the modification form of a accesscontroller whose identifier is in the http request
    doRemoveAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Handles the removal form of a accesscontrol
    doRemoveAccessController(jakarta.servlet.http.HttpServletRequest request)
    Handles the removal form of a accesscontroller
    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
    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
    getConfirmRemoveAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Manages the removal form of a accesscontrol whose identifier is in the http request
    getConfirmRemoveAccessController(jakarta.servlet.http.HttpServletRequest request)
    Manages the removal form of a accesscontroller whose identifier is in the http request
    getCreateAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to create a accesscontrol
    getManageAccessControls(jakarta.servlet.http.HttpServletRequest request)
    Build the Manage View
    getModifyAccessControl(jakarta.servlet.http.HttpServletRequest request)
    Returns the form to update info about a accesscontrol
    getModifyConfigController(jakarta.servlet.http.HttpServletRequest request)
    Manages the modification form of a accesscontroller whose identifier is in the http request
    processController(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 too

    Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

    getPlugin, init

    Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean

    getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getSecurityTokenService, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      processController in class fr.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 new AccessController
      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: