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:
java.io.Serializable
public class SecurityHeaderJspBean extends MVCAdminJspBean
This class provides the user interface to manage security headers features ( manage, create, modify, remove, activate/deactivate ).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSP_MANAGE_SECURITY_HEADERSstatic java.lang.StringJSP_MODIFY_SECURITY_HEADER_CONFIGstatic java.lang.StringJSP_REMOVE_SECURITY_HEADERSstatic java.lang.StringRIGHT_SECURITY_HEADER_MANAGEMENTstatic java.lang.StringTEMPLATE_MANAGE_SECURITY_HEADERS
-
Constructor Summary
Constructors Constructor Description SecurityHeaderJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCreateSecurityHeader(javax.servlet.http.HttpServletRequest request)Process the data capture form for create a security headerjava.lang.StringdoModifySecurityHeader(javax.servlet.http.HttpServletRequest request)Processes the data capture form for modifying a security header.java.lang.StringdoRemoveSecurityHeader(javax.servlet.http.HttpServletRequest request)Processes the data capture form for removing a security header.java.lang.StringdoSecurityHeaderAction(javax.servlet.http.HttpServletRequest request)Processes the security headers actions (enable and disable).java.lang.StringgetConfirmRemoveSecurityHeader(javax.servlet.http.HttpServletRequest request)Returns the page of confirmation for deleting a security header.java.lang.StringgetCreateSecurityHeader(javax.servlet.http.HttpServletRequest request)Returns the security header creation page.java.lang.StringgetManageSecurityHeaders(javax.servlet.http.HttpServletRequest request)Returns the page to manage security headers.java.lang.StringgetMessageNotEditableSecurityHeader(javax.servlet.http.HttpServletRequest request)Returns the message page that informs that a security header is not editable.java.lang.StringgetModifySecurityHeader(javax.servlet.http.HttpServletRequest request)Returns the security header modification page.java.lang.StringgetModifySecurityHeaderConfig(javax.servlet.http.HttpServletRequest request)Returns the security header config modification page.-
Methods inherited from class fr.paris.lutece.portal.util.mvc.admin.MVCAdminJspBean
processController
-
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, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validate
-
-
-
-
Field Detail
-
RIGHT_SECURITY_HEADER_MANAGEMENT
public static final java.lang.String RIGHT_SECURITY_HEADER_MANAGEMENT
- See Also:
- Constant Field Values
-
TEMPLATE_MANAGE_SECURITY_HEADERS
public static final java.lang.String TEMPLATE_MANAGE_SECURITY_HEADERS
- See Also:
- Constant Field Values
-
JSP_MANAGE_SECURITY_HEADERS
public static final java.lang.String JSP_MANAGE_SECURITY_HEADERS
- See Also:
- Constant Field Values
-
JSP_REMOVE_SECURITY_HEADERS
public static final java.lang.String JSP_REMOVE_SECURITY_HEADERS
- See Also:
- Constant Field Values
-
JSP_MODIFY_SECURITY_HEADER_CONFIG
public static final java.lang.String JSP_MODIFY_SECURITY_HEADER_CONFIG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getManageSecurityHeaders
public java.lang.String getManageSecurityHeaders(javax.servlet.http.HttpServletRequest request)
Returns the page to manage security headers.- Parameters:
request- The HttpServletRequest- Returns:
- The HTML code.
-
getCreateSecurityHeader
public java.lang.String getCreateSecurityHeader(javax.servlet.http.HttpServletRequest request)
Returns the security header creation page.- Parameters:
request- the http request- Returns:
- the html code for the securityheader creation page
-
doCreateSecurityHeader
public java.lang.String doCreateSecurityHeader(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcess 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
public java.lang.String getModifySecurityHeaderConfig(javax.servlet.http.HttpServletRequest request)
Returns the security header config modification page.- Parameters:
request- the http request- Returns:
- the html code for the securityheader config modification page
-
getModifySecurityHeader
public java.lang.String getModifySecurityHeader(javax.servlet.http.HttpServletRequest request)
Returns the security header modification page.- Parameters:
request- the http request- Returns:
- the html code for the securityheader modification page
-
getMessageNotEditableSecurityHeader
public java.lang.String getMessageNotEditableSecurityHeader(javax.servlet.http.HttpServletRequest request)
Returns the message page that informs that a security header is not editable.- Parameters:
request- The Http Request- Returns:
- the confirmation url
-
doModifySecurityHeader
public java.lang.String doModifySecurityHeader(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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
public java.lang.String getConfirmRemoveSecurityHeader(javax.servlet.http.HttpServletRequest request)
Returns the page of confirmation for deleting a security header.- Parameters:
request- The Http Request- Returns:
- the confirmation url
-
doRemoveSecurityHeader
public java.lang.String doRemoveSecurityHeader(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses 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 java.lang.String doSecurityHeaderAction(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses the security headers actions (enable and disable).- Parameters:
request- The HTTP request- Returns:
- The forward URL
- Throws:
AccessDeniedException- if the security token is invalid
-
-