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