其他分享
首页 > 其他分享> > shiro 不使用加密 解决 org.apache.shiro.authc.IncorrectCredentialsException: Submitted credentials for token

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

 

标签:IncorrectCredentialsException,authc,credentials,apache,org,shiro
来源: https://www.cnblogs.com/kinome/p/11437317.html