SpringSecurity实战:分布式对象“可共享对象”
1. 前言我们对 AuthenticationManager 的初始化的细节进行了分析,其中里面有一段代码引起了不少同学的注意:ApplicationContext context = http.getSharedObject(ApplicationContext.class); CaptchaAuthenticationProvider captchaAuthenticationProvider = context.getBean("captchaAuthenticatio
转载
2021-01-28 10:15:46 ·
208 阅读 ·
0 评论