美文网首页
spring security正常登录情况下执行顺序

spring security正常登录情况下执行顺序

作者: joecfan | 来源:发表于2018-07-17 15:59 被阅读0次

    at cn.tearn.security.service.impl.UserDetailServiceImpl.loadUserByUsername(UserDetailServiceImpl.java:20)

    at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:104)

    at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:144)

    at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)

    at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:199)

    at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$AuthenticationManagerDelegator.authenticate(WebSecurityConfigurerAdapter.java:502)

    at cn.tearn.security.filter.CustomUsernamePasswordAuthenticationFilter.attemptAuthentication(CustomUsernamePasswordAuthenticationFilter.java:37)

    (CustomUsernamePasswordAuthenticationFilter重写了UsernamePasswordAuthenticationFilter)

    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:212)

    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

    相关文章

      网友评论

          本文标题:spring security正常登录情况下执行顺序

          本文链接:https://www.haomeiwen.com/subject/tncgpftx.html