原文可复制代码:http://blog.maptoface.com/post/212
请求返回状态码302是请求没有登录,导致临时重定向到默认界面。
可以通过该方法直接调用shiro中的doGetAuthenticationInfo方法进行登录
登录失败报错:
kaptchaValidateFailed:验证码错误
IncorrectCredentialsException:密码不正确
UnknownAccountException:账号不存在
原文可复制代码:http://blog.maptoface.com/post/212
请求返回状态码302是请求没有登录,导致临时重定向到默认界面。
可以通过该方法直接调用shiro中的doGetAuthenticationInfo方法进行登录
登录失败报错:
kaptchaValidateFailed:验证码错误
IncorrectCredentialsException:密码不正确
UnknownAccountException:账号不存在