摘要:
AbstractUserDetailsAuthenticationProvider类位于org.springframework.security.authentication.dao包下,在org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter中被调用,该类的public Authentication authenticate(Authentication authentication) throws AuthenticationException方法百常重要,通过这段代码能详细了 阅读全文
posted @ 2011-12-14 14:39
杭州胡欣
阅读(12395)
评论(0)
推荐(2)
摘要:
springSecurity的登录验证是由org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter这个过滤器来完成的,在该类的父类AbstractAuthenticationProcessingFilter中有一个AuthenticationManager接口属性,验证工作主要是通过这个AuthenticationManager接口的实例来完成的。在默认情况下,springSecurity框架会把org.springframework.security.authentication. 阅读全文
posted @ 2011-12-14 11:33
杭州胡欣
阅读(14924)
评论(0)
推荐(0)

浙公网安备 33010602011771号