xuekang
2024-05-10 106518c5979ad04d00e1aa991389101d188ce050
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package org.dromara.auth.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
 
/**
 * 用户密码配置
 *
 * @author Lion Li
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "user.password")
public class UserPasswordProperties {
 
    /**
     * 密码最大错误次数
     */
    private Integer maxRetryCount;
 
    /**
     * 密码锁定时间(默认10分钟)
     */
    private Integer lockTime;
 
}