public class PasswordStrategyConfig extends Configuration
构造器和说明 |
---|
PasswordStrategyConfig() |
限定符和类型 | 方法和说明 |
---|---|
int |
getDaysOfUpdateEarlyWarning() |
static PasswordStrategyConfig |
getInstance() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
int |
getPasswordLength() |
int |
getUpdateCycle() |
boolean |
isEmailVerificationAfterChangePassword() |
boolean |
isForgetPassword() |
boolean |
isIncludeCapitalLetters() |
boolean |
isIncludeLowercaseLetters() |
boolean |
isIncludeNumbers() |
boolean |
isIncludeSymbol() |
boolean |
isPasswordLengthLimit() |
boolean |
isPasswordStrengthLimit() |
boolean |
isPasswordUpdateRegularly() |
boolean |
isSmsVerificationAfterChangePassword() |
boolean |
isUpdateEarlyWarning() |
void |
setDaysOfUpdateEarlyWarning(int daysOfUpdateEarlyWarning) |
void |
setEmailVerificationAfterChangePassword(boolean emailVerificationAfterChangePassword) |
void |
setForgetPassword(boolean forgetPassword) |
void |
setIncludeCapitalLetters(boolean includeCapitalLetters) |
void |
setIncludeLowercaseLetters(boolean includeLowercaseLetters) |
void |
setIncludeNumbers(boolean includeNumbers) |
void |
setIncludeSymbol(boolean includeSymbol) |
void |
setPasswordLength(int passwordLength) |
void |
setPasswordLengthLimit(boolean passwordLengthLimit) |
void |
setPasswordStrengthLimit(boolean passwordStrengthLimit) |
void |
setPasswordUpdateRegularly(boolean passwordUpdateRegularly) |
void |
setSmsVerificationAfterChangePassword(boolean smsVerificationAfterChangePassword) |
void |
setUpdateCycle(int updateCycle) |
void |
setUpdateEarlyWarning(boolean updateEarlyWarning) |
clone, initialize, mirror
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public static PasswordStrategyConfig getInstance()
public boolean isForgetPassword()
public void setForgetPassword(boolean forgetPassword)
public boolean isPasswordUpdateRegularly()
public void setPasswordUpdateRegularly(boolean passwordUpdateRegularly)
public int getUpdateCycle()
public void setUpdateCycle(int updateCycle)
public boolean isUpdateEarlyWarning()
public void setUpdateEarlyWarning(boolean updateEarlyWarning)
public int getDaysOfUpdateEarlyWarning()
public void setDaysOfUpdateEarlyWarning(int daysOfUpdateEarlyWarning)
public boolean isPasswordStrengthLimit()
public void setPasswordStrengthLimit(boolean passwordStrengthLimit)
public boolean isPasswordLengthLimit()
public void setPasswordLengthLimit(boolean passwordLengthLimit)
public int getPasswordLength()
public void setPasswordLength(int passwordLength)
public boolean isIncludeNumbers()
public void setIncludeNumbers(boolean includeNumbers)
public boolean isIncludeLowercaseLetters()
public void setIncludeLowercaseLetters(boolean includeLowercaseLetters)
public boolean isIncludeCapitalLetters()
public void setIncludeCapitalLetters(boolean includeCapitalLetters)
public boolean isIncludeSymbol()
public void setIncludeSymbol(boolean includeSymbol)
public boolean isSmsVerificationAfterChangePassword()
public void setSmsVerificationAfterChangePassword(boolean smsVerificationAfterChangePassword)
public boolean isEmailVerificationAfterChangePassword()
public void setEmailVerificationAfterChangePassword(boolean emailVerificationAfterChangePassword)