shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
30
31
32
33
34
35
36
package com.iplatform.base.config;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties(prefix = "iplatform.security.user")
public class SecurityUserProperties {
 
    /**
     * 用户修改密码的安全等级,参考:{@linkplain com.walker.infrastructure.utils.PasswordUtils#LEVEL_01_LOW}
     * @return
     * @date 2023-08-03
     */
    public int getPassLevel() {
        return passLevel;
    }
 
    public void setPassLevel(int passLevel) {
        this.passLevel = passLevel;
    }
 
    /**
     * 是否要(强制提示)修改默认密码
     * @return
     * @date 2023-08-03
     */
    public boolean isPassDefaultModify() {
        return passDefaultModify;
    }
 
    public void setPassDefaultModify(boolean passDefaultModify) {
        this.passDefaultModify = passDefaultModify;
    }
 
    private int passLevel = 1;
    private boolean passDefaultModify = true;
}