:tada: (RuoYi)官方仓库 基于SpringBoot,Spring Security,JWT,Vue & Element 的前后端分离权限管理系统,同时提供了 Vue3 的版本
2.32k
stars
1.28k
forks
source link
spring security配置多个WebSecurityConfigurerAdapter后,如何在service层获得AuthenticationManager实例? #27
Closed
mcyustc closed 3 years ago
如果向若依一样注入bean会导致启动失败
所以这段代码只好删除。
那么如何在service层注入生效的AuthenticationManager呢?请大佬指点不胜感激