原文:There is no PasswordEncoder mapped for the id "null"的解决办法

今日在SpringBoot项目中使用 Spring Security ,登录时发现报 错,报错信息如下: There is no PasswordEncoder mapped for the id null 我接着查找了前端页面上,发现密码框的name属性确实指定的是 password ,并没有出错。这是怎么回事呢 于是就上网百度,发现这是由于Spring security 中新增加了加密方式, ...

2019-06-11 17:19 2 5316 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM