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

 

测试本方法为失效的

 

报错:

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

你可能感兴趣的:(shiro 不使用加密 解决 org.apache.shiro.authc.IncorrectCredentialsException: Submitted credentials for token...)