原文: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