|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.AbstractCharacterRule
edu.vt.middleware.password.LowercaseCharacterRule
public class LowercaseCharacterRule
Rule for determining if a password contains the correct number of lowercase characters.
| Field Summary |
|---|
| Fields inherited from class edu.vt.middleware.password.AbstractCharacterRule |
|---|
ERROR_CODE, numCharacters |
| Constructor Summary | |
|---|---|
LowercaseCharacterRule()
Default constructor. |
|
LowercaseCharacterRule(int num)
Creates a new lowercase character rule. |
|
| Method Summary | |
|---|---|
protected String |
getCharacterType()
Returns the type of character managed by this rule. |
protected int |
getNumberOfCharacterType(Password password)
Returns the number of the type of characters in the supplied password for the implementing class. |
String |
getValidCharacters()
Returns the characters that are considered valid for this rule. |
| Methods inherited from class edu.vt.middleware.password.AbstractCharacterRule |
|---|
createRuleResultDetailParameters, getNumberOfCharacters, setNumberOfCharacters, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LowercaseCharacterRule()
public LowercaseCharacterRule(int num)
num - number of lowercase characters to enforce| Method Detail |
|---|
public String getValidCharacters()
protected int getNumberOfCharacterType(Password password)
getNumberOfCharacterType in class AbstractCharacterRulepassword - to get character count from
protected String getCharacterType()
getCharacterType in class AbstractCharacterRule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||