Skip navigation links
B C D F G I L M O P Q R S T U V 

B

BannedPasswordRule - Class in org.pageseeder.smith.rule
Evaluate a password by checking against a list of banned passwords.
BannedPasswordRule() - Constructor for class org.pageseeder.smith.rule.BannedPasswordRule
 

C

configuration() - Method in class org.pageseeder.smith.PasswordMeter
Returns the configuration used by this password meter.
configure(Map<String, String>) - Method in interface org.pageseeder.smith.PasswordRule
Configures the specified rule.
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.BannedPasswordRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.ConsecutiveCharRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.DigitCountRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.LengthRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.LowerCaseCountRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.MixedCaseRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.MixedCharRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.QwertyConsecutiveCharRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.RepeatedCharRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.SpecialCharCountRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.UniqueCharRule
 
configure(Map<String, String>) - Method in class org.pageseeder.smith.rule.UpperCaseCountRule
 
ConsecutiveCharRule - Class in org.pageseeder.smith.rule
A rule based on the number of identical consecutive characters in the password.
ConsecutiveCharRule() - Constructor for class org.pageseeder.smith.rule.ConsecutiveCharRule
 

D

DEFAULT_CHARS - Static variable in class org.pageseeder.smith.rule.SpecialCharCountRule
The default special characters
defaultConfig() - Static method in class org.pageseeder.smith.PasswordConfig
Returns the default configuration
DigitCountRule - Class in org.pageseeder.smith.rule
A rule based on the number of digits [0-9] in the password.
DigitCountRule() - Constructor for class org.pageseeder.smith.rule.DigitCountRule
 

F

factor() - Method in class org.pageseeder.smith.function.LinearScore
 

G

get(int) - Method in class org.pageseeder.smith.function.LinearScore
 
get(int) - Method in class org.pageseeder.smith.function.ScoreArray
Returns the score for the specified index.
get(int) - Method in interface org.pageseeder.smith.ScoreFunction
Returns the score based on the specified value.
getLevel(int) - Method in class org.pageseeder.smith.PasswordConfig
Returns the level for a given score.
getLevel(String) - Method in class org.pageseeder.smith.PasswordMeter
Evaluate the specified password.
getThreshold(String) - Method in class org.pageseeder.smith.PasswordConfig
Returns the minimum score required to match this level.

I

IDENTITY - Static variable in class org.pageseeder.smith.function.LinearScore
Linear scoring implementing an identity function.
isAtLeast(String, String) - Method in class org.pageseeder.smith.PasswordMeter
Indicates whether the specified password matches at least the supplied level.
isDefined(String) - Method in class org.pageseeder.smith.PasswordConfig
Indicates whether a level is defined in the specified configuration.

L

LengthRule - Class in org.pageseeder.smith.rule
Evaluate a password based on its length.
LengthRule() - Constructor for class org.pageseeder.smith.rule.LengthRule
 
levels() - Method in class org.pageseeder.smith.PasswordConfig
Returns the list of levels in order of threshold.
linearRange(int, int) - Static method in class org.pageseeder.smith.function.ScoreArray
Linear Range
LinearScore - Class in org.pageseeder.smith.function
Returns the score linearly based on the given value.
LinearScore() - Constructor for class org.pageseeder.smith.function.LinearScore
Creates a new linear score with a factor of 1.
LinearScore(int) - Constructor for class org.pageseeder.smith.function.LinearScore
Creates a new linear score with the specified factor;
load(File) - Static method in class org.pageseeder.smith.PasswordConfig
Parses the specified file.
load(InputSource) - Static method in class org.pageseeder.smith.PasswordConfig
Parses the specified file.
load() - Static method in class org.pageseeder.smith.rule.BannedPasswordRule
Loads the default banned passwords.
load(Reader) - Static method in class org.pageseeder.smith.rule.BannedPasswordRule
Loads the passwords found in the specified reader.
LowerCaseCountRule - Class in org.pageseeder.smith.rule
A rule based on the number of upper case characters in the password.
LowerCaseCountRule() - Constructor for class org.pageseeder.smith.rule.LowerCaseCountRule
 

M

main(String[]) - Static method in class org.pageseeder.smith.PasswordMeter
 
MAX_ARRAY_SIZE - Static variable in class org.pageseeder.smith.function.ScoreArray
The maximum size of the array.
MixedCaseRule - Class in org.pageseeder.smith.rule
Evaluate a password based the number of mixed case pairs.
MixedCaseRule() - Constructor for class org.pageseeder.smith.rule.MixedCaseRule
 
MixedCharRule - Class in org.pageseeder.smith.rule
Evaluate a password based the number of mixed characters.
MixedCharRule() - Constructor for class org.pageseeder.smith.rule.MixedCharRule
 

O

org.pageseeder.smith - package org.pageseeder.smith
 
org.pageseeder.smith.function - package org.pageseeder.smith.function
 
org.pageseeder.smith.rule - package org.pageseeder.smith.rule
 

P

parse(Map<String, String>) - Static method in class org.pageseeder.smith.function.ScoreArray
 
PasswordConfig - Class in org.pageseeder.smith
A password configuration.
PasswordConfig(SortedMap<Integer, String>, List<PasswordRule>) - Constructor for class org.pageseeder.smith.PasswordConfig
Creates a new password configuration.
PasswordMeter - Class in org.pageseeder.smith
The main class
PasswordMeter() - Constructor for class org.pageseeder.smith.PasswordMeter
Creates a new password meter using the default built-in configuration.
PasswordMeter(PasswordConfig) - Constructor for class org.pageseeder.smith.PasswordMeter
Creates a new password meter using the default configuration
PasswordRule - Interface in org.pageseeder.smith
Defines a rule for a password.

Q

QwertyConsecutiveCharRule - Class in org.pageseeder.smith.rule
Evaluate a password by checking whether it follows a sequence from a QWERTY keyboard.
QwertyConsecutiveCharRule() - Constructor for class org.pageseeder.smith.rule.QwertyConsecutiveCharRule
 

R

RepeatedCharRule - Class in org.pageseeder.smith.rule
A rule based on the number of repeated characters in the password.
RepeatedCharRule() - Constructor for class org.pageseeder.smith.rule.RepeatedCharRule
 
rules() - Method in class org.pageseeder.smith.PasswordConfig
Returns the rules in this configuration

S

score(String) - Method in class org.pageseeder.smith.PasswordMeter
Returns the score for this password.
score(String) - Method in interface org.pageseeder.smith.PasswordRule
Returns the score for the password.
score(String) - Method in class org.pageseeder.smith.rule.BannedPasswordRule
 
score(String) - Method in class org.pageseeder.smith.rule.ConsecutiveCharRule
 
score(String) - Method in class org.pageseeder.smith.rule.DigitCountRule
 
score(String) - Method in class org.pageseeder.smith.rule.LengthRule
 
score(String) - Method in class org.pageseeder.smith.rule.LowerCaseCountRule
 
score(String) - Method in class org.pageseeder.smith.rule.MixedCaseRule
 
score(String) - Method in class org.pageseeder.smith.rule.MixedCharRule
 
score(String) - Method in class org.pageseeder.smith.rule.QwertyConsecutiveCharRule
 
score(String) - Method in class org.pageseeder.smith.rule.RepeatedCharRule
 
score(String) - Method in class org.pageseeder.smith.rule.SpecialCharCountRule
 
score(String) - Method in class org.pageseeder.smith.rule.UniqueCharRule
 
score(String) - Method in class org.pageseeder.smith.rule.UpperCaseCountRule
 
ScoreArray - Class in org.pageseeder.smith.function
A utility class for scores
ScoreArray() - Constructor for class org.pageseeder.smith.function.ScoreArray
Creates a new index of scores where all scores return 0;
ScoreArray(int[]) - Constructor for class org.pageseeder.smith.function.ScoreArray
Creates a new index of scores.
ScoreFunction - Interface in org.pageseeder.smith
A function to apply to a result in order to produce the score.
ScoreFunctionBase - Class in org.pageseeder.smith.function
Provides a score function.
ScoreFunctionBase(String) - Constructor for class org.pageseeder.smith.function.ScoreFunctionBase
Creates a new score function for the specified type
scores() - Method in class org.pageseeder.smith.function.ScoreArray
 
Scriptable - Interface in org.pageseeder.smith
Indicates that a script can be build from the implementing object.
SpecialCharCountRule - Class in org.pageseeder.smith.rule
A rule based on the number of upper case characters in the password.
SpecialCharCountRule() - Constructor for class org.pageseeder.smith.rule.SpecialCharCountRule
Creates a new rule using the special characters
SpecialCharCountRule(String) - Constructor for class org.pageseeder.smith.rule.SpecialCharCountRule
 

T

toScript(Appendable) - Method in class org.pageseeder.smith.function.LinearScore
 
toScript(Appendable) - Method in class org.pageseeder.smith.function.ScoreArray
 
toScript(Appendable) - Method in class org.pageseeder.smith.PasswordMeter
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.BannedPasswordRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.ConsecutiveCharRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.DigitCountRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.LengthRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.LowerCaseCountRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.MixedCaseRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.MixedCharRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.QwertyConsecutiveCharRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.RepeatedCharRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.SpecialCharCountRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.UniqueCharRule
 
toScript(Appendable) - Method in class org.pageseeder.smith.rule.UpperCaseCountRule
 
toScript(Appendable) - Method in interface org.pageseeder.smith.Scriptable
Writes the script for the object on to the specified writer.
toString() - Method in class org.pageseeder.smith.function.ScoreArray
 
type() - Method in class org.pageseeder.smith.function.LinearScore
 
type() - Method in class org.pageseeder.smith.function.ScoreFunctionBase
 
type() - Method in interface org.pageseeder.smith.ScoreFunction
Returns the type for this function.

U

UniqueCharRule - Class in org.pageseeder.smith.rule
A rule based on the number of unique characters in the password.
UniqueCharRule() - Constructor for class org.pageseeder.smith.rule.UniqueCharRule
 
UpperCaseCountRule - Class in org.pageseeder.smith.rule
A rule based on the number of upper case characters in the password.
UpperCaseCountRule() - Constructor for class org.pageseeder.smith.rule.UpperCaseCountRule
 

V

vector(String) - Method in class org.pageseeder.smith.PasswordMeter
Returns the vector of scores for each rule in the order in which they are defined.
B C D F G I L M O P Q R S T U V 
Skip navigation links