Package com.logicaldoc.util.security
Class PasswordValidator
- java.lang.Object
-
- com.logicaldoc.util.security.PasswordValidator
-
public class PasswordValidator extends Object
An utility class to validate the passwords- Since:
- 8.8.2
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description PasswordValidator(int length, int uppercaseChars, int lowercaseChars, int digits, int specialChars, int maxSequenceSize, int maxOccurrences, Properties messages)
Constructor
-
-
-
Constructor Detail
-
PasswordValidator
public PasswordValidator(int length, int uppercaseChars, int lowercaseChars, int digits, int specialChars, int maxSequenceSize, int maxOccurrences, Properties messages)
Constructor- Parameters:
length
- minimum size of the passworduppercaseChars
- minimum number of upper case charslowercaseChars
- minimum number of lower case charsdigits
- minimum number of digitsspecialChars
- minimum number of special charsmaxSequenceSize
- maximum size of a sequencemaxOccurrences
- maximum number of occurrences of the same charmessages
- optional map with error codes and messages
-
-