| 限定符和类型 | 字段和说明 |
|---|---|
private Boolean |
charSame
是否检测连续字符相同
|
private Boolean |
checkExpire
是否检测密码过期
|
private Boolean |
containAccount
密码中是否不包含登陆账号
|
private Boolean |
containDigit
是否包含数字
|
private Boolean |
containLetter
是否包含包含字母,不区分大小写
|
private Boolean |
containLowerCase
是否包含小写
|
private Boolean |
containPhone
是否包含电话
|
private Boolean |
containPinyin
是否包含姓名拼音,包括全拼,简拼,姓全拼名简拼(不区分大小写)
|
private Boolean |
containSpecialChar
是事包含特殊字符
|
private Boolean |
containUpperCase
是否包含大写
|
private List<String> |
excludes
不允许出现的字符串,比如lzgdjt,lzgd,gdjt,与字符大小写无关
|
private Integer |
expireMonth
检测密码是否达到过期的时间,这里的为月份
|
private Boolean |
horizontalKey
是否检测键盘按键横向连续
|
private Integer |
limitCharSameNum
密码口令中相同字符不允许最小的连续个数
|
private Integer |
limitHorizontalNum |
private Integer |
limitLogicNum
密码口令中字符在逻辑位置上不允许最小的连续个数
|
private Integer |
limitSlopeNum
键盘物理位置斜向不允许最小的连续个数
|
private Boolean |
logicKey
是否检测逻辑位置连续
|
private Integer |
maxLength
密码最大长度,默认为20
|
private Integer |
minLength
密码最小长度,默认为8
|
private Boolean |
passwordLength
是否检测密码口令长度标识
|
private Boolean |
slopeKey
是否检测键盘按键斜向连续
|
private String |
specialChars
自字义的特殊符号符合
|
| 构造器和说明 |
|---|
PwdCfg() |
private Boolean passwordLength
private Integer minLength
private Integer maxLength
private Boolean containDigit
private Boolean containLetter
private Boolean containLowerCase
private Boolean containUpperCase
private Boolean containSpecialChar
private String specialChars
private Boolean horizontalKey
private Integer limitHorizontalNum
private Boolean slopeKey
private Integer limitSlopeNum
private Boolean logicKey
private Integer limitLogicNum
private Boolean charSame
private Integer limitCharSameNum
private Boolean containAccount
private Boolean containPhone
private Boolean containPinyin
private Boolean checkExpire
private Integer expireMonth
Copyright © 2022. All rights reserved.