springBoot-There is no PasswordEncoder mapped for the id "null"

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_26917447/article/details/84847548

security5.x版本
如果有自定义AuthenticationProvider类的话,注意里面判断逻辑后需要指定PasswordEncoder,否则会按照DelegatingPasswordEncoder去处理的。

猜你喜欢

转载自blog.csdn.net/qq_26917447/article/details/84847548
今日推荐