Class SecurityHeaderJspBean

All Implemented Interfaces:
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:
  • Field Details

  • Constructor Details

    • SecurityHeaderJspBean

      public SecurityHeaderJspBean()
  • Method Details

    • getManageSecurityHeaders

      public String getManageSecurityHeaders(javax.servlet.http.HttpServletRequest request)
      Returns the page to manage security headers.
      Parameters:
      request - The HttpServletRequest
      Returns:
      The HTML code.
    • getCreateSecurityHeader

      public 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 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

      public 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 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 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 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 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 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