public abstract class PasswordPolicyEntity
extends java.lang.Object
PasswordPolicyEntity abstract class wraps various properties related to the password
requirements for a user account.| Modifier and Type | Class and Description |
|---|---|
static class |
PasswordPolicyEntity.Builder |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
allAllowCharacterCheck()
Returns a boolean that represents whether or not password is required to use
allowed characters only, including [0-9a-zA-Z] and special characters allowed.
|
abstract java.lang.String |
allowSpecialCharacter()
Returns a String of the symbols/special characters allowed in the password.
|
static PasswordPolicyEntity.Builder |
builder() |
abstract int |
maximumPasswordLength()
Returns an int of the maximum password length allowed.
|
abstract int |
maxPasswordHistory()
Returns an int of the number of most recent passwords that cannot currently be reused.
|
abstract int |
minimumPasswordLength()
Returns an int of the minimum password length allowed.
|
abstract boolean |
requireAlphabeticCharacter()
Returns a boolean that represents whether or not the password requires at least one alphabetic
character.
|
abstract boolean |
requireLowercaseCharacter()
Returns a boolean that represents whether or not the password requires at least one lowercase
character.
|
abstract boolean |
requireNumbers()
Returns a boolean that represents whether or not the password requires at least one number.
|
abstract boolean |
requireSymbols()
Returns a boolean that represents whether or not the password requires at least one symbol/
special character.
|
abstract boolean |
requireUppercaseCharacter()
Returns a boolean that represents whether or not the password requires at least one uppercase
character.
|
public abstract boolean requireAlphabeticCharacter()
true if the password requires at least one alphabetic character;
false otherwise.public abstract java.lang.String allowSpecialCharacter()
public abstract int maximumPasswordLength()
public abstract int maxPasswordHistory()
3, then the previous 3 passwords used by the
user account cannot currently be reused.public abstract int minimumPasswordLength()
public abstract boolean requireLowercaseCharacter()
true if the password requires at least one lowercase character;
false otherwise.public abstract boolean requireNumbers()
true if the password requires at least one number;
false otherwise.public abstract boolean requireSymbols()
true if the password requires at least one symbol/special character;
false otherwise.public abstract boolean allAllowCharacterCheck()
true if required to use the allowed characters only;
false otherwise.public abstract boolean requireUppercaseCharacter()
true if the password requires at least one uppercase character;
false otherwise.public static PasswordPolicyEntity.Builder builder()