Class RegexConstraint
java.lang.Object
com.atlassian.crowd.directory.password.constraint.RegexConstraint
- All Implemented Interfaces:
PasswordConstraint
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RegexConstraint
- Parameters:
regex
- a regular expression the password must match
-
-
Method Details
-
getRegex
-
validate
Description copied from interface:PasswordConstraint
Validates the given credential according to this constraint's rules.- Specified by:
validate
in interfacePasswordConstraint
- Parameters:
request
- a ValidatePasswordRequest- Returns:
- whether the password satisfies this constraint
-
toString
-