public class LoginCsrfFilter
extends org.springframework.web.filter.OncePerRequestFilter
XsrfTokenInterceptor
, which can't be used because because the login is
handled by CrowdSSOAuthenticationProcessingFilter
and
interceptors are only applied after filters.Modifier and Type | Class and Description |
---|---|
static class |
LoginCsrfFilter.LoginCsrfTokenInvalidException |
static class |
LoginCsrfFilter.LoginCsrfTokenMissingException |
Constructor and Description |
---|
LoginCsrfFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
javax.servlet.FilterChain filterChain) |
XsrfTokenGenerator |
getTokenGenerator() |
void |
setRestLoginMatcher(org.springframework.security.web.util.matcher.RequestMatcher restLoginMatcher) |
void |
setTokenGenerator(XsrfTokenGenerator tokenGenerator) |
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, IOException
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
javax.servlet.ServletException
IOException
public XsrfTokenGenerator getTokenGenerator()
public void setTokenGenerator(XsrfTokenGenerator tokenGenerator)
public void setRestLoginMatcher(org.springframework.security.web.util.matcher.RequestMatcher restLoginMatcher)
Copyright © 2020 Atlassian. All rights reserved.