Package com.aquima.web.security.headers
Class XssProtectionHeaderWriter
- java.lang.Object
-
- com.aquima.web.security.headers.AbstractSecurityHeaderWriter
-
- com.aquima.web.security.headers.XssProtectionHeaderWriter
-
- All Implemented Interfaces:
org.springframework.security.web.header.HeaderWriter
public class XssProtectionHeaderWriter extends AbstractSecurityHeaderWriter
Adds the X-XSS-Protection header to the HTTP response based on the current security configuration.- Since:
- 10.0
- Author:
- Petru Galanton
-
-
Constructor Summary
Constructors Constructor Description XssProtectionHeaderWriter(SecurityConfigProperties config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class com.aquima.web.security.headers.AbstractSecurityHeaderWriter
hasHeader
-
-
-
-
Constructor Detail
-
XssProtectionHeaderWriter
public XssProtectionHeaderWriter(SecurityConfigProperties config)
-
-