Class 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 Detail

      • RIGHT_SECURITY_HEADER_MANAGEMENT

        public static final java.lang.String RIGHT_SECURITY_HEADER_MANAGEMENT
        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
    • Constructor Detail

      • SecurityHeaderJspBean

        public SecurityHeaderJspBean()
    • 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 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
      • 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 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

        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 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 java.lang.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