public class JWTRegisterFilter
extends org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
JWTAuthenticationTokenFilter.| Modifier and Type | Field and Description |
|---|---|
protected CustomerStateService |
customerStateService |
protected JWTAuthenticationSuccessHandler |
successHandler |
| Constructor and Description |
|---|
JWTRegisterFilter(String url,
org.springframework.security.authentication.AuthenticationManager authenticationManager,
JWTAuthenticationSuccessHandler successHandler,
CustomerStateService customerStateService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
successfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
org.springframework.security.core.Authentication authentication) |
afterPropertiesSet, doFilter, getAllowSessionCreation, getAuthenticationManager, getFailureHandler, getRememberMeServices, getSuccessHandler, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy, unsuccessfulAuthenticationprotected final JWTAuthenticationSuccessHandler successHandler
protected final CustomerStateService customerStateService
public JWTRegisterFilter(String url, org.springframework.security.authentication.AuthenticationManager authenticationManager, JWTAuthenticationSuccessHandler successHandler, CustomerStateService customerStateService)
public org.springframework.security.core.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
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 void successfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
org.springframework.security.core.Authentication authentication)
throws IOException,
javax.servlet.ServletException
successfulAuthentication in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilterIOExceptionjavax.servlet.ServletExceptionCopyright © 2017. All rights reserved.