支持配置密码最大错误次数/锁定时间

This commit is contained in:
RuoYi
2022-07-30 14:01:38 +08:00
parent 250c5ba226
commit aee5d417ed
10 changed files with 184 additions and 3 deletions

View File

@ -0,0 +1,16 @@
package com.ruoyi.common.exception.user;
/**
* 用户错误最大次数异常类
*
* @author ruoyi
*/
public class UserPasswordRetryLimitExceedException extends UserException
{
private static final long serialVersionUID = 1L;
public UserPasswordRetryLimitExceedException(int retryLimitCount, int lockTime)
{
super("user.password.retry.limit.exceed", new Object[] { retryLimitCount, lockTime });
}
}