spring security过滤器顺序

通过DEBUG可以看到Spring Security的Filter的顺序

Security filter chain: [

  ConcurrentSessionFilter
  SecurityContextPersistenceFilter
  LogoutFilter
  UsernamePasswordAuthenticationFilter
  RequestCacheAwareFilter
  SecurityContextHolderAwareRequestFilter
  RememberMeAuthenticationFilter
  AnonymousAuthenticationFilter
  SessionManagementFilter
  ExceptionTranslationFilter
  FilterSecurityInterceptor
]

有时间好好研究下

你可能感兴趣的:(spring security过滤器顺序)