public class PasswordGenerator.PasswordPolicy
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
allowPasswordReuse()
Checks whether reuse of passwords is allowed.
|
int |
getMinLength()
Returns password minimum length.
|
boolean |
requireMixedCase()
Checks whether the password requires to have mixed-case characters.
|
boolean |
requireNumber()
Checks whether the password requires to have a number.
|
boolean |
requireSpecChar()
Checks whether the password requires to have a special character.
|
public int getMinLength()
public boolean requireNumber()
public boolean requireSpecChar()
public boolean requireMixedCase()
public boolean allowPasswordReuse()