(四)、spring boot security 请求流程 和 filter 说明

版权声明:本文为博主原创文章,转载请附上博文链接,谢谢! https://blog.csdn.net/qq_30062125/article/details/86062839

Spring Security文章目录


简介:

此处以我们前面demo中的用户名密码登录作为例子进行说明。

登入 登出流程如下:

filters逻辑如下:

1、MethodSecurityInterceptor 流程与 FilterSecurityInterceptor 类似。

2、demo中的自定义AuthenticationProcessingFilter(MyTokenAuthenticationFilter) 在UsernamePasswordAuthenticationFilter之前,实现token方式登录。

猜你喜欢

转载自blog.csdn.net/qq_30062125/article/details/86062839