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

原文地址:https://www.cnblogs.com/kinome/p/11437317.html