public class CrowdSecurityHeadersFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
static String |
HEADER_CONTENT_SECURITY_POLICY |
static String |
HEADER_X_CONTENT_TYPE_OPTIONS |
static String |
HEADER_X_FRAME_OPTIONS |
static String |
HEADER_X_XSS_PROTECTION |
Constructor and Description |
---|
CrowdSecurityHeadersFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public static final String HEADER_X_FRAME_OPTIONS
public static final String HEADER_CONTENT_SECURITY_POLICY
public static final String HEADER_X_CONTENT_TYPE_OPTIONS
public static final String HEADER_X_XSS_PROTECTION
public void init(javax.servlet.FilterConfig filterConfig)
init
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2021 Atlassian. All rights reserved.