public class JWTAuthenticationFilter
extends org.springframework.web.filter.OncePerRequestFilter
| Modifier and Type | Field and Description |
|---|---|
protected JWTConsumer |
jwtConsumer |
| Constructor and Description |
|---|
JWTAuthenticationFilter(JWTConsumer jwtConsumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.security.core.Authentication |
attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected void |
handleAuthenticationException(org.springframework.security.core.AuthenticationException authenticationException,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchprotected final JWTConsumer jwtConsumer
public JWTAuthenticationFilter(JWTConsumer jwtConsumer)
public void afterPropertiesSet()
throws javax.servlet.ServletException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.web.filter.GenericFilterBeanjavax.servlet.ServletExceptionprotected 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.OncePerRequestFilterjavax.servlet.ServletExceptionIOExceptionprotected org.springframework.security.core.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws org.springframework.security.core.AuthenticationException
org.springframework.security.core.AuthenticationExceptionprotected void handleAuthenticationException(org.springframework.security.core.AuthenticationException authenticationException,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionCopyright © 2017 S&C Software. All rights reserved.