阅读背景:

报错Encoded password does not look like BCrypt和There is no PasswordEncoder mapped for the id “null”

来源:互联网 

前言

使用的是spring security自带的login页面,结果登陆的时候,用户名和密码正确也无法打开资源,还是停留在login页面。而且发现控制台报了异常——There is no PasswordEncoder mapped for the id “null”。网上百度了一下发现这是因为Spring security 5.0中新增了多种加密方式,也改变了密码的格式。使用的是spring security自带的login页面,结果登陆的




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: