public class SkipReplicatedCsrfFilter
extends org.springframework.web.filter.OncePerRequestFilter
| Modifier and Type | Field and Description |
|---|---|
protected static String |
REPLICATED_REQUEST_HEADER
RequestReplicator.REQUEST_TRANSACTION_ID_HEADER applied to replicated cluster requests
|
private static org.springframework.security.web.util.matcher.RequestMatcher |
REQUEST_MATCHER
Requests containing replicated header and not containing authorization cookies will be skipped
|
| Constructor and Description |
|---|
SkipReplicatedCsrfFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Set request attribute to disable standard CSRF Filter when request matches
|
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchprotected static final String REPLICATED_REQUEST_HEADER
private static final org.springframework.security.web.util.matcher.RequestMatcher REQUEST_MATCHER
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
IOException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterrequest - HTTP Servlet Requestresponse - HTTP Servlet ResponsefilterChain - Filter Chainjavax.servlet.ServletException - Thrown on FilterChain.doFilter()IOException - Thrown on FilterChain.doFilter()Copyright © 2023 Apache NiFi Project. All rights reserved.