public class BsiPasswordPolicy extends java.lang.Object implements PasswordPolicy
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BSI_PASSWORD_POLICY_ACCOUNT_LOCKOUT_RESET_TIMEOUT |
static java.lang.String |
BSI_PASSWORD_POLICY_ACCOUNT_LOCKOUT_THRESHOLD |
static java.lang.String |
BSI_PASSWORD_POLICY_CHARSET_KEY |
static java.lang.String |
BSI_PASSWORD_POLICY_HISTORY_SIZE |
static java.lang.String |
BSI_PASSWORD_POLICY_OCCURRENCES_KEY |
static java.lang.String |
BSI_PASSWORD_POLICY_PSWD_MAX_AGE |
static java.lang.String |
BSI_PASSWORD_POLICY_PSWD_MIN_AGE |
static java.lang.String |
BSI_PASSWORD_POLICY_PSWD_MIN_LENGTH |
Constructor and Description |
---|
BsiPasswordPolicy(ConfigService configService,
<any> passwordChangeHookProvider,
<any> passwordSetHookProvider,
<any> postAuthenticateHookProvider) |
Modifier and Type | Method and Description |
---|---|
int |
getAccountLockoutAutoResetTimeout() |
int |
getAccountLockoutThreshold() |
ChangePasswordHook |
getChangePasswordHooker() |
int |
getHistorySize() |
CharacterClassBasedPasswordComplexitySpecification |
getPasswordComplexitySpecification() |
int |
getPasswordMaxAge() |
int |
getPasswordMinAge() |
PasswordSetHook |
getPasswordSetHooker() |
PostAuthenticateHook |
getPostAuthenticateHooker() |
boolean |
isValid() |
void |
loadConfig() |
void |
reset() |
public static final java.lang.String BSI_PASSWORD_POLICY_CHARSET_KEY
public static final java.lang.String BSI_PASSWORD_POLICY_OCCURRENCES_KEY
public static final java.lang.String BSI_PASSWORD_POLICY_PSWD_MAX_AGE
public static final java.lang.String BSI_PASSWORD_POLICY_PSWD_MIN_AGE
public static final java.lang.String BSI_PASSWORD_POLICY_PSWD_MIN_LENGTH
public static final java.lang.String BSI_PASSWORD_POLICY_HISTORY_SIZE
public static final java.lang.String BSI_PASSWORD_POLICY_ACCOUNT_LOCKOUT_THRESHOLD
public static final java.lang.String BSI_PASSWORD_POLICY_ACCOUNT_LOCKOUT_RESET_TIMEOUT
public BsiPasswordPolicy(ConfigService configService, <any> passwordChangeHookProvider, <any> passwordSetHookProvider, <any> postAuthenticateHookProvider)
public void reset()
public void loadConfig()
public boolean isValid()
public CharacterClassBasedPasswordComplexitySpecification getPasswordComplexitySpecification()
getPasswordComplexitySpecification
in interface PasswordPolicy
public PostAuthenticateHook getPostAuthenticateHooker()
getPostAuthenticateHooker
in interface PasswordPolicy
public ChangePasswordHook getChangePasswordHooker()
getChangePasswordHooker
in interface PasswordPolicy
public int getPasswordMaxAge()
public int getPasswordMinAge()
public int getHistorySize()
public int getAccountLockoutThreshold()
public int getAccountLockoutAutoResetTimeout()
public PasswordSetHook getPasswordSetHooker()
getPasswordSetHooker
in interface PasswordPolicy