Class SecurityHeaderConfigJspBean

    • 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
    • Constructor Detail

      • SecurityHeaderConfigJspBean

        public SecurityHeaderConfigJspBean()
    • 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 AccessDeniedException
        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 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 AccessDeniedException
        Process 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 AccessDeniedException
        Processes 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.