Package | Description |
---|---|
org.passay | |
org.passay.entropy |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDictionaryRule
Provides common implementation for password dictionary rules.
|
class |
AllowedCharacterRule
Rule for determining if a password contains allowed characters.
|
class |
AllowedRegexRule
Rule for determining if a password matches an allowed regular expression.
|
class |
CharacterCharacteristicsRule
Rule for determining if a password contains the desired mix of character types.
|
class |
CharacterOccurrencesRule
Validates that a password does not contain too many occurrences of the same character.
|
class |
CharacterRule
Validates whether a password contains a certain number of a type of character.
|
class |
DictionaryRule
Rule for determining if a password matches a dictionary word.
|
class |
DictionarySubstringRule
Rule for determining if a password contains a dictionary word with optional checking for reversed words.
|
class |
DigestDictionaryRule
Rule for determining if a password matches a digested password that is stored in a dictionary.
|
class |
DigestHistoryRule
Rule for determining if a password matches one of any previous digested password a user has chosen.
|
class |
DigestSourceRule
Rule for determining if a password matches a digested password from a different source.
|
class |
HaveIBeenPwnedRule
Validates the password against the online database of
haveibeenpwned.com
optionally allowing the usage of found passwords, but returns the number of found matches in
the metadata. |
class |
HistoryRule
Rule for determining if a password matches one of any previous password a user has chosen.
|
class |
IllegalCharacterRule
Rule for determining if a password contains an illegal character.
|
class |
IllegalRegexRule
Rule for determining if a password matches an illegal regular expression.
|
class |
IllegalSequenceRule
Password validation rule that prevents illegal sequences of characters, e.g. keyboard, alphabetical, numeric.
|
class |
LengthComplexityRule
Rule for determining if a password contains the desired complexity for a certain length.
|
class |
LengthRule
Rule for determining if a password is within a desired length.
|
class |
NumberRangeRule
Rule for determining if a password contains any number within a defined range, lower inclusive, upper exclusive.
|
class |
PasswordValidator
The central component for evaluating multiple password rules against a candidate password.
|
class |
RepeatCharacterRegexRule
Rule for determining if a password contains a duplicate ASCII keyboard sequence.
|
class |
RepeatCharactersRule
Rule for determining if a password contains multiple sequences of repeating characters.
|
class |
SourceRule
Rule for determining if a password matches a password from a different source.
|
class |
UsernameRule
Rule for determining if a password contains the username associated with that password.
|
class |
WhitespaceRule
Rule for determining if a password contains whitespace characters.
|
Modifier and Type | Method and Description |
---|---|
<T extends Rule> |
PasswordGenerator.generatePassword(int length,
T... rules)
|
Modifier and Type | Method and Description |
---|---|
List<? extends Rule> |
PasswordValidator.getRules()
Returns the password rules for this validator.
|
Map<LengthComplexityRule.Interval,List<? extends Rule>> |
LengthComplexityRule.getRules()
Returns the password rules for this complexity rule.
|
Modifier and Type | Method and Description |
---|---|
void |
LengthComplexityRule.addRules(String interval,
Rule... r)
Adds the rules to invoke for the supplied interval.
|
<T extends Rule> |
PasswordGenerator.generatePassword(int length,
T... rules)
|
Modifier and Type | Method and Description |
---|---|
void |
LengthComplexityRule.addRules(String interval,
List<Rule> l)
Adds the rules to invoke for the supplied interval.
|
String |
PasswordGenerator.generatePassword(int length,
List<? extends Rule> rules)
Generates a password of the supplied length which meets the requirements of the supplied character rules.
|
Constructor and Description |
---|
PasswordValidator(MessageResolver resolver,
Rule... rules)
|
PasswordValidator(Rule... rules)
|
Constructor and Description |
---|
PasswordValidator(List<? extends Rule> rules)
Creates a new password validator with a
PropertiesMessageResolver . |
PasswordValidator(MessageResolver resolver,
List<? extends Rule> rules)
Creates a new password validator.
|
Modifier and Type | Method and Description |
---|---|
static RandomPasswordEntropy |
RandomPasswordEntropyFactory.createEntropy(List<? extends Rule> passwordRules,
PasswordData passwordData)
Creates a new random password entropy.
|
static ShannonEntropy |
ShannonEntropyFactory.createEntropy(List<? extends Rule> passwordRules,
PasswordData passwordData)
Creates a new shannon entropy.
|
Copyright © 2003-2024 Virginia Tech. All Rights Reserved.