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 PasswordRestriction
public void validate(String userName, String password) throws PasswordValidationException
validate
in interface PasswordRestriction
PasswordValidationException
Copyright © 2023 JBoss by Red Hat. All rights reserved.