public class ValueRestriction extends PasswordRestriction
Constructor and Description |
---|
ValueRestriction(String forbiddenValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
pass(String password)
Check if password passes restriction.
|
getMessage
public ValueRestriction(String forbiddenValue)
forbiddenValue
- public boolean pass(String password)
PasswordRestriction
pass
in class PasswordRestriction
Copyright © 2013 JBoss by Red Hat. All rights reserved.