org.apache.shiro.authc.IncorrectCredentialsException: Submitted credentials for token [org.apache.sh

二、錯誤緣由前端

 

      前端傳的密碼是明文,然後臺存儲的是hash值,致使前後臺不匹配報錯.net

 

三、解決辦法blog

     從前端獲取密碼後,在Java裏將其轉換成hash值,可以馬上匹配上get

 

  轉載文章hash

http://blog.csdn.net/you23hai45/article/details/49205875後臺

相關文章
相關標籤/搜索