public class CompoundRestriction extends Object implements PasswordRestriction
PasswordValidation which wraps multiple other restrictions.| Constructor and Description |
|---|
CompoundRestriction(boolean must) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequirementMessage() |
List<PasswordRestriction> |
getRestrictions() |
void |
validate(String userName,
String password) |
public List<PasswordRestriction> getRestrictions()
public String getRequirementMessage()
getRequirementMessage in interface PasswordRestrictionpublic void validate(String userName, String password) throws PasswordValidationException
validate in interface PasswordRestrictionPasswordValidationExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.