Class SecurityHeaderJspBean
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.portal.web.system.SecurityHeaderJspBean
- All Implemented Interfaces:
Serializable
This class provides the user interface to manage security headers features ( manage, create, modify, remove, activate/deactivate ).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCreateSecurityHeader(javax.servlet.http.HttpServletRequest request) Process the data capture form for create a security headerdoModifySecurityHeader(javax.servlet.http.HttpServletRequest request) Processes the data capture form for modifying a security header.doRemoveSecurityHeader(javax.servlet.http.HttpServletRequest request) Processes the data capture form for removing a security header.doSecurityHeaderAction(javax.servlet.http.HttpServletRequest request) Processes the security headers actions (enable and disable).getConfirmRemoveSecurityHeader(javax.servlet.http.HttpServletRequest request) Returns the page of confirmation for deleting a security header.getCreateSecurityHeader(javax.servlet.http.HttpServletRequest request) Returns the security header creation page.getManageSecurityHeaders(javax.servlet.http.HttpServletRequest request) Returns the page to manage security headers.getMessageNotEditableSecurityHeader(javax.servlet.http.HttpServletRequest request) Returns the message page that informs that a security header is not editable.getModifySecurityHeader(javax.servlet.http.HttpServletRequest request) Returns the security header modification page.getModifySecurityHeaderConfig(javax.servlet.http.HttpServletRequest request) Returns the security header config modification page.Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processControllerMethods 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, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
Field Details
-
RIGHT_SECURITY_HEADER_MANAGEMENT
- See Also:
-
TEMPLATE_MANAGE_SECURITY_HEADERS
- See Also:
-
JSP_MANAGE_SECURITY_HEADERS
- See Also:
-
JSP_REMOVE_SECURITY_HEADERS
- See Also:
-
JSP_MODIFY_SECURITY_HEADER_CONFIG
- See Also:
-
-
Constructor Details
-
SecurityHeaderJspBean
public SecurityHeaderJspBean()
-
-
Method Details
-
getManageSecurityHeaders
Returns the page to manage security headers.- Parameters:
request- The HttpServletRequest- Returns:
- The HTML code.
-
getCreateSecurityHeader
Returns the security header creation page.- Parameters:
request- the http request- Returns:
- the html code for the securityheader creation page
-
doCreateSecurityHeader
public String doCreateSecurityHeader(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Process the data capture form for create a security header- Parameters:
request- The HTTP Request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- If the security token is invalid
-
getModifySecurityHeaderConfig
Returns the security header config modification page.- Parameters:
request- the http request- Returns:
- the html code for the securityheader config modification page
-
getModifySecurityHeader
Returns the security header modification page.- Parameters:
request- the http request- Returns:
- the html code for the securityheader modification page
-
getMessageNotEditableSecurityHeader
Returns the message page that informs that a security header is not editable.- Parameters:
request- The Http Request- Returns:
- the confirmation url
-
doModifySecurityHeader
public String doModifySecurityHeader(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the data capture form for modifying a security header.- Parameters:
request- The HTTP Request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the security token is invalid
-
getConfirmRemoveSecurityHeader
Returns the page of confirmation for deleting a security header.- Parameters:
request- The Http Request- Returns:
- the confirmation url
-
doRemoveSecurityHeader
public String doRemoveSecurityHeader(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the data capture form for removing a security header.- Parameters:
request- The HTTP Request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the security token is invalid
-
doSecurityHeaderAction
public String doSecurityHeaderAction(javax.servlet.http.HttpServletRequest request) throws AccessDeniedException Processes the security headers actions (enable and disable).- Parameters:
request- The HTTP request- Returns:
- The forward URL
- Throws:
AccessDeniedException- if the security token is invalid
-