2021年12月13日
摘要: 本篇目标是解析WebSecurityConfiguration是如何初始化的 首先,看下他的源码。 /** * Uses a {@link WebSecurity} to create the {@link FilterChainProxy} that performs the web * base 阅读全文
posted @ 2021-12-13 22:52 幽人月 阅读(1152) 评论(0) 推荐(1)
摘要: spring security的开始就是从@EnableWebSecurity注解开始的,让我们看下这个注解。 @Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME) @Target(value = { java.lang.a 阅读全文
posted @ 2021-12-13 22:03 幽人月 阅读(276) 评论(0) 推荐(0)
摘要: 这边的demo是直接拿的官网的demo 官网地址:https://spring.io/guides/gs/securing-web/ 阅读全文
posted @ 2021-12-13 21:55 幽人月 阅读(131) 评论(0) 推荐(0)
摘要: 本页面为目录页面,提供后续文章的跳转,持续更新 spring security项目搭建 spring security核心类解析 (一)WebSecurityConfiguration (二)SecurityFilterChain spring security OAuth2 阅读全文
posted @ 2021-12-13 21:38 幽人月 阅读(71) 评论(0) 推荐(0)