public class DefaultPasswordPolicyImpl extends Object implements PasswordPolicy
Modifier and Type | Field and Description |
---|---|
static int |
MIN_DIGIT |
static int |
MIN_LENGTH |
static int |
MIN_LOWERCASE |
static int |
MIN_SPECIAL |
static int |
MIN_UPPERCSE |
protected static String |
PLACEHOLDER_PREFIX |
protected List<PasswordPolicyRule> |
rules |
Constructor and Description |
---|
DefaultPasswordPolicyImpl() |
Modifier and Type | Method and Description |
---|---|
List<PasswordPolicyRule> |
getRules()
A list of rules that must be matched by user passwords.
|
protected static final String PLACEHOLDER_PREFIX
public static final int MIN_LENGTH
public static final int MIN_LOWERCASE
public static final int MIN_UPPERCSE
public static final int MIN_DIGIT
public static final int MIN_SPECIAL
protected final List<PasswordPolicyRule> rules
public List<PasswordPolicyRule> getRules()
PasswordPolicy
getRules
in interface PasswordPolicy
Copyright © 2021. All rights reserved.