shiro 不使用加密 解决 org.apache.shiro.authc.IncorrectCredentialsException: Submitted credentials for token [org.apache.sh

 

测试本方法为失效的

 

报错:

org.apache.shiro.authc.IncorrectCredentialsException: Submitted credentials for token [org.apache.shiro.authc.UsernamePasswordToken - null, rememberMe=false] did not match the expected credentials.

 

将返回的SimpleAuthenticationInfo修改为SimpleAccount

 

posted @ 2019-08-30 21:55  由良大小姐  阅读(5385)  评论(0编辑  收藏  举报