public class UsernamePasswordMatch extends Object implements PasswordRestriction
PasswordRestriction to verify that the username and password and not equal.| Constructor and Description |
|---|
UsernamePasswordMatch(boolean must) |
public String getRequirementMessage()
getRequirementMessage in interface PasswordRestrictionpublic void validate(String userName, String password) throws PasswordValidationException
validate in interface PasswordRestrictionPasswordValidationExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.