[TOC]
# 关键类
UsernamePasswordAuthenticationFilter
AuthenticationManager
1
public interface AuthenticationProvider {
Authentication authenticate(Authentication var1) throws AuthenticationException;
boolean supports(Class<?> var1);
}
1
2
3
4
2
3
4
DaoAuthenticationProvider
1
UserDetailsService
SecurityContextHolder
1
# 授权流程
FilterSecurityInterceptor
SecurityMetadataSource
AccessDecisionManager
1
授权决策
AccessDecisionVoter
1