shiro 为什么跑出 incorrectcredentialsexception

2024-12-20 18:46:50
推荐回答(1个)
回答1:

这是shiro常见的问题。
IncorrectCredentialsException
当输入密码错误就会出现这种异常,如下:
org.apache.shiro.authc.IncorrectCredentialsException: Submitted credentials for token [org.apache.shiro.authc.UsernamePasswordToken - zhangsan, rememberMe=false] did not match the expected credentials.