|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.IllegalCharacterRule
public class IllegalCharacterRule
Rule for determining if a password contains an illegal character.
| Field Summary | |
|---|---|
static String |
ERROR_CODE
Error code for illegal character failures. |
| Constructor Summary | |
|---|---|
IllegalCharacterRule(char[] c)
Create a new illegal character rule. |
|
| Method Summary | |
|---|---|
protected Map<String,?> |
createRuleResultDetailParameters(char c)
Creates the parameter data for the rule result detail. |
String |
toString()
Returns a string representation of this object. |
RuleResult |
validate(PasswordData passwordData)
Validates the supplied password data per the requirements of this rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ERROR_CODE
| Constructor Detail |
|---|
public IllegalCharacterRule(char[] c)
c - illegal characters| Method Detail |
|---|
public RuleResult validate(PasswordData passwordData)
validate in interface RulepasswordData - to verify (not null).
protected Map<String,?> createRuleResultDetailParameters(char c)
c - illegal character
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||