摘要: 本文仅助那些在Security集成OAuth2.0路上踩坑的人理解认证过程。 OAuth2AuthenticationManager 首先,我觉得分析OAuth2AuthenticationManager,我们需要先理解它是如何被使用,何时被使用,那我们就从这里开始逐一分析吧,我手画了一张图作为索引 阅读全文
posted @ 2020-03-14 19:16 喜欢你的眉眼微笑i 阅读(2078) 评论(0) 推荐(0)
摘要: AuthenticationEventPublisher AuthenticationEventPublisher 从上图我们能看出 AuthenticationEventPublisher (认证事件发布器)被Security定义为接口的形式,它定义了Spring Security中用户授权成功或 阅读全文
posted @ 2020-03-13 15:40 喜欢你的眉眼微笑i 阅读(1990) 评论(0) 推荐(0)
摘要: 关于这篇文章,我这里不做过多的解释,已经有许多前辈给出了,提供几个我认为写的不错的链接 "Spring ApplicationContext事件机制" "ApplicationContext探究" "Spring 上下文理解" "理解Spring容器、BeanFactory和ApplicationC 阅读全文
posted @ 2020-03-13 13:53 喜欢你的眉眼微笑i 阅读(260) 评论(0) 推荐(0)