public class RefreshTokenAuthenticationFilter
extends org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationTokenService |
authenticationTokenService |
protected org.springframework.core.env.Environment |
environment |
| Constructor and Description |
|---|
RefreshTokenAuthenticationFilter(String url,
org.springframework.security.authentication.AuthenticationManager authenticationManager,
org.springframework.core.env.Environment environment,
AuthenticationTokenService authenticationTokenService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
attemptAuthentication(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected String |
getRefreshToken(javax.servlet.http.HttpServletRequest request) |
protected javax.servlet.http.Cookie |
getRefreshTokenCookie(javax.servlet.http.HttpServletRequest request) |
protected String |
getRefreshTokenCookieName() |
protected void |
successfulAuthentication(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.FilterChain chain,
org.springframework.security.core.Authentication auth) |
afterPropertiesSet, doFilter, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy, unsuccessfulAuthenticationprotected final org.springframework.core.env.Environment environment
protected final AuthenticationTokenService authenticationTokenService
public RefreshTokenAuthenticationFilter(String url, org.springframework.security.authentication.AuthenticationManager authenticationManager, org.springframework.core.env.Environment environment, AuthenticationTokenService authenticationTokenService)
public org.springframework.security.core.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws org.springframework.security.core.AuthenticationException,
IOException,
javax.servlet.ServletException
attemptAuthentication in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilterorg.springframework.security.core.AuthenticationExceptionIOExceptionjavax.servlet.ServletExceptionprotected String getRefreshToken(javax.servlet.http.HttpServletRequest request)
protected javax.servlet.http.Cookie getRefreshTokenCookie(javax.servlet.http.HttpServletRequest request)
protected void successfulAuthentication(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.FilterChain chain,
org.springframework.security.core.Authentication auth)
throws IOException,
javax.servlet.ServletException
successfulAuthentication in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilterIOExceptionjavax.servlet.ServletExceptionprotected String getRefreshTokenCookieName()
Copyright © 2020. All rights reserved.