public class TokenAuthenticationFilter
extends spring.turbo.webmvc.AbstractServletFilter
FilterConfiguration| 构造器和说明 |
|---|
TokenAuthenticationFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
protected boolean |
authenticationIsRequired() |
protected boolean |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
onSuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authResult) |
protected void |
onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException failed) |
void |
setAuthenticationEntryPoint(org.springframework.security.web.AuthenticationEntryPoint authenticationEntryPoint) |
void |
setAuthenticationEventPublisher(org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher) |
void |
setRememberMeServices(org.springframework.security.web.authentication.RememberMeServices rememberMeServices) |
void |
setRequestDetailsBuilder(RequestDetailsBuilder requestDetailsBuilder) |
void |
setTokenResolver(spring.turbo.webmvc.token.TokenResolver tokenResolver) |
void |
setTokenToUserConverter(TokenToUserConverter converter) |
addSkipPredicates, doFilterInternal, writeHtml, writeJson, writeTextdoFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchprotected boolean doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doFilter 在类中 spring.turbo.webmvc.AbstractServletFilterjavax.servlet.ServletExceptionIOExceptionpublic void afterPropertiesSet()
throws javax.servlet.ServletException
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanafterPropertiesSet 在类中 org.springframework.web.filter.GenericFilterBeanjavax.servlet.ServletExceptionprotected final boolean authenticationIsRequired()
protected void onSuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authResult)
protected void onUnsuccessfulAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException failed)
public void setTokenResolver(@NonNull
spring.turbo.webmvc.token.TokenResolver tokenResolver)
public void setTokenToUserConverter(@NonNull
TokenToUserConverter converter)
public void setRememberMeServices(@Nullable
org.springframework.security.web.authentication.RememberMeServices rememberMeServices)
public void setAuthenticationEntryPoint(@Nullable
org.springframework.security.web.AuthenticationEntryPoint authenticationEntryPoint)
public void setAuthenticationEventPublisher(@Nullable
org.springframework.security.authentication.AuthenticationEventPublisher authenticationEventPublisher)
public void setRequestDetailsBuilder(@Nullable
RequestDetailsBuilder requestDetailsBuilder)
Copyright © 2022. All rights reserved.