测试本方法为失效的

 

报错:

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