|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.password.AbstractDictionaryRule
edu.vt.middleware.password.DictionaryRule
public class DictionaryRule
Rule for determining if a password matches a dictionary word. This rule will optionally also check for reversed words.
| Field Summary |
|---|
| Fields inherited from class edu.vt.middleware.password.AbstractDictionaryRule |
|---|
dictionary, ERROR_CODE, ERROR_CODE_REVERSED, matchBackwards |
| Constructor Summary | |
|---|---|
DictionaryRule()
Creates a new dictionary rule without supplying a dictionary. |
|
DictionaryRule(edu.vt.middleware.dictionary.Dictionary dict)
Creates a new dictionary rule. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
doWordSearch(java.lang.String text)
Searches the dictionary with the supplied text. |
| Methods inherited from class edu.vt.middleware.password.AbstractDictionaryRule |
|---|
createRuleResultDetailParameters, getDictionary, isMatchBackwards, setDictionary, setMatchBackwards, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DictionaryRule()
AbstractDictionaryRule.setDictionary(Dictionary).
public DictionaryRule(edu.vt.middleware.dictionary.Dictionary dict)
dict - to use for searching| Method Detail |
|---|
protected java.lang.String doWordSearch(java.lang.String text)
doWordSearch in class AbstractDictionaryRuletext - to search dictionary with
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||