public class LengthRestriction extends PasswordRestriction
| Constructor and Description |
|---|
LengthRestriction(int desiredLength) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
pass(String password)
Check if password passes restriction.
|
getMessagepublic LengthRestriction(int desiredLength)
desiredLength - public boolean pass(String password)
PasswordRestrictionpass in class PasswordRestrictionCopyright © 2013 JBoss by Red Hat. All rights reserved.