public abstract class PasswordRestriction extends Object
Constructor and Description |
---|
PasswordRestriction(String message) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Message which indicates failure reason.
|
abstract boolean |
pass(String password)
Check if password passes restriction.
|
public PasswordRestriction(String message)
message
- Copyright © 2013 JBoss by Red Hat. All rights reserved.