Class SecurityHeaderConfigJspBean
- 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.SecurityHeaderConfigJspBean
-
- All Implemented Interfaces:
java.io.Serializable
public class SecurityHeaderConfigJspBean extends MVCAdminJspBean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJSP_MODIFY_SECURITY_HEADER_CONFIGstatic java.lang.StringJSP_REMOVE_SECURITY_HEADER_CONFIG_ITEMstatic java.lang.StringRIGHT_SECURITY_HEADER_MANAGEMENT
-
Constructor Summary
Constructors Constructor Description SecurityHeaderConfigJspBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringdoCreateSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)Process the data capture form for create a security header config item that allows to add an exception to default security header value on certain Urlsjava.lang.StringdoModifySecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)Process the data capture form for update a security header config itemjava.lang.StringdoRemoveSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)Processes the data capture form for removing a security header config item.java.lang.StringgetConfirmRemoveSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)Returns the page of confirmation for deleting a security header config item.java.lang.StringgetCreateSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)Returns the security header config item creation page.java.lang.StringgetManageSecurityHeaders(javax.servlet.http.HttpServletRequest request)Returns the page to manage security headers.java.lang.StringgetModifySecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)Returns the security header config item modification page that allows to modify an exception to default security header value on certain Urls-
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
-
JSP_MODIFY_SECURITY_HEADER_CONFIG
public static final java.lang.String JSP_MODIFY_SECURITY_HEADER_CONFIG
- See Also:
- Constant Field Values
-
JSP_REMOVE_SECURITY_HEADER_CONFIG_ITEM
public static final java.lang.String JSP_REMOVE_SECURITY_HEADER_CONFIG_ITEM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateSecurityHeaderConfigItem
public java.lang.String getCreateSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)
Returns the security header config item creation page.- Parameters:
request- the http request- Returns:
- the html code for the security header config item creation page that allows to add an exception to default security header value on certain Urls
-
doCreateSecurityHeaderConfigItem
public java.lang.String doCreateSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcess the data capture form for create a security header config item that allows to add an exception to default security header value on certain Urls- Parameters:
request- The HTTP Request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- If the security token is invalid
-
getModifySecurityHeaderConfigItem
public java.lang.String getModifySecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)
Returns the security header config item modification page that allows to modify an exception to default security header value on certain Urls- Parameters:
request- the http request- Returns:
- the html code for the security header config item creation page
-
doModifySecurityHeaderConfigItem
public java.lang.String doModifySecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcess the data capture form for update a security header config item- Parameters:
request- The HTTP Request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- If the security token is invalid
-
getConfirmRemoveSecurityHeaderConfigItem
public java.lang.String getConfirmRemoveSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request)
Returns the page of confirmation for deleting a security header config item.- Parameters:
request- The Http Request- Returns:
- the confirmation url
-
doRemoveSecurityHeaderConfigItem
public java.lang.String doRemoveSecurityHeaderConfigItem(javax.servlet.http.HttpServletRequest request) throws AccessDeniedExceptionProcesses the data capture form for removing a security header config item.- Parameters:
request- The HTTP Request- Returns:
- The Jsp URL of the process result
- Throws:
AccessDeniedException- if the security token is invalid
-
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.
-
-