SpringSecurity认证流程
2019-08-08 08:57:14 0 举报
SpringSecurity认证流程
作者其他创作
大纲/内容
check_token
Resource-Server
tokenConverter.extractAuthentication(map);
authenticationManager.authenticate(authentication);
OAuth2AuthenticationProcessingFilter
若cookie中存在token
RemoteTokenService.loadAuthentication(token)
获取cookie中的token信息
若检验后,token为null,抛出异常
DefaultTokenServices.loadAuthentication(token)
tokenExtractor.extract(request)
1.接收异常信息2.刷新token3.放入cookie4.check_token
tokenStore.readAuthentication(accessToken)
Auth-Server
收藏
0 条评论
下一页