public class JWTAuthenticationFilter extends OncePerRequestFilter
HttpHeaders.AUTHORIZATION
HTTP header, putting the result into the
SecurityContextHolder
.ALREADY_FILTERED_SUFFIX
logger
Constructor and Description |
---|
JWTAuthenticationFilter() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
void |
setAuthenticationDetailsSource(SyncopeAuthenticationDetailsSource authenticationDetailsSource) |
void |
setAuthenticationEntryPoint(AuthenticationEntryPoint authenticationEntryPoint) |
void |
setAuthenticationManager(AuthenticationManager authenticationManager) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
addRequiredProperty, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
public void setAuthenticationEntryPoint(AuthenticationEntryPoint authenticationEntryPoint)
public void setAuthenticationManager(AuthenticationManager authenticationManager)
public void setAuthenticationDetailsSource(SyncopeAuthenticationDetailsSource authenticationDetailsSource)
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class GenericFilterBean
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws javax.servlet.ServletException, IOException
doFilterInternal
in class OncePerRequestFilter
javax.servlet.ServletException
IOException
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.