|
|||||||||
| 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
DictionaryRule determines if a password matches a dictionary
word. The checker will optionally also check for reversed words.
| Field Summary |
|---|
| Fields inherited from class edu.vt.middleware.password.AbstractDictionaryRule |
|---|
dictionary, matchBackwards |
| Constructor Summary | |
|---|---|
DictionaryRule()
This creates a new a new DictionaryRule without supplying a
dictionary. |
|
DictionaryRule(edu.vt.middleware.dictionary.Dictionary dict)
This creates a new DictionaryRule with the supplied
dictionary. |
|
| 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 |
|---|
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()
DictionaryRule without supplying a
dictionary. The dictionary should be set using the AbstractDictionaryRule.setDictionary(Dictionary) method.
public DictionaryRule(edu.vt.middleware.dictionary.Dictionary dict)
DictionaryRule with the supplied
dictionary. The dictionary should be ready to use when passed to this
constructor.
dict - Dictionary to use for searching| Method Detail |
|---|
protected java.lang.String doWordSearch(java.lang.String text)
doWordSearch in class AbstractDictionaryRuletext - to search dictionary with
String matching word
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||