Class ClickJackingProtectionHeaderWriter

java.lang.Object
com.aquima.web.security.headers.AbstractSecurityHeaderWriter
com.aquima.web.security.headers.ClickJackingProtectionHeaderWriter
All Implemented Interfaces:
org.springframework.security.web.header.HeaderWriter

public class ClickJackingProtectionHeaderWriter extends AbstractSecurityHeaderWriter
Adds the Content-Security-Policy and X-Frame-Options headers to the HTTP response based on the current security configuration.
Since:
10.0
Author:
Petru Galanton
  • Constructor Details

  • Method Details

    • writeHeaders

      public void writeHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)