Security FiletChain
2017-07-24 11:48:30 0 举报
Spring Security的流程图
作者其他创作
大纲/内容
ExceptionTranslationFilter
ApplicationFilterChain(FilterChain)
doFilter()
AbstractSecurityInterceptor
InterceptorStatusToken token = super.beforeInvocation(fi);
SecurityContextHolderAwareRequestFilter
HeaderWriterFilter
RequestCacheAwareFilter
AnonymousAuthenticationFilter
doFilterInternal()获取到该请求匹配到需要过滤的Filters后则开始进行该请求的Filters过滤。如果该请求匹配到需要过滤的Filters为0,则不进行过滤。否则通过新建VirualFilterChain来进行这些Filters的过滤。
VirtualFilterChain
Lazily initialize the delegate if necessary.initialize springSecurityFilterChain(FilterChainProxy)
FilterChainProxy
JwtAuthenticationTokenFilter
FilterSecurityInterceptor
invoke(fi)
OrderedRequestContextFilter
OrderedCharacterEncodingFilter
LogOutFilter
hiddenHttpMethodFilter
WebAsyncManagerIntegrationFilter
DelegatingFilterProxy
SecurityContextPersistenceFilter
开始循环执行List additionalFilters
SessionManagementFilter
收藏
收藏
0 条评论
下一页