报错authenticationManager must be specified

来源:4-12 短信登录配置及重构

慕田峪8977866

2018-10-31

报错SmsAuthenticationFilter.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: authenticationManager must be specified。

写回答

1回答

JoJo

2018-11-06

这是说你的filter没设AuthenticationManager,请确认。参考老师代码SmsCodeAuthenticationSecurityConfig的49行。

0
1
过客12
老师,现在设置了也不得行,好像这个返回的manager是空了,怎么办
2020-04-23
共1条回复

Spring Security技术栈开发企业级认证与授权

Spring Security技术栈,REST风格开发常见接口,独立开发认证授权模块保证REST服务安全

2662 学习 · 1561 问题

查看课程