类 MyAuthenticationFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.web.filter.OncePerRequestFilter
-
- org.springframework.security.web.authentication.www.BasicAuthenticationFilter
-
- com.codingapi.springboot.security.filter.MyAuthenticationFilter
-
- 所有已实现的接口:
javax.servlet.Filter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable,org.springframework.web.context.ServletContextAware
public class MyAuthenticationFilter extends org.springframework.security.web.authentication.www.BasicAuthenticationFilter
-
-
构造器概要
构造器 构造器 说明 MyAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager, Jwt jwt)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voiddoFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)-
从类继承的方法 org.springframework.security.web.authentication.www.BasicAuthenticationFilter
afterPropertiesSet, getAuthenticationEntryPoint, getAuthenticationManager, getCredentialsCharset, isIgnoreFailure, onSuccessfulAuthentication, onUnsuccessfulAuthentication, setAuthenticationDetailsSource, setCredentialsCharset, setRememberMeServices, setSecurityContextRepository
-
从类继承的方法 org.springframework.web.filter.OncePerRequestFilter
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
-
-
-
-
构造器详细资料
-
MyAuthenticationFilter
public MyAuthenticationFilter(org.springframework.security.authentication.AuthenticationManager authenticationManager, Jwt jwt)
-
-
方法详细资料
-
doFilterInternal
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- 覆盖:
doFilterInternal在类中org.springframework.security.web.authentication.www.BasicAuthenticationFilter- 抛出:
IOExceptionjavax.servlet.ServletException
-
-