Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractDictionaryRule - Class in org.passay.rule
-
Provides common implementation for password dictionary rules.
- AbstractDictionaryRule(Dictionary, boolean) - Constructor for class org.passay.rule.AbstractDictionaryRule
-
Creates a new abstract dictionary rule.
- AbstractFileWordList - Class in org.passay.dictionary
-
Common implementation for file based word lists.
- AbstractFileWordList(RandomAccessFile, boolean, CharsetDecoder) - Constructor for class org.passay.dictionary.AbstractFileWordList
-
Creates a new abstract file word list from the supplied file.
- AbstractFileWordList.Cache - Class in org.passay.dictionary
-
Cache of word indices to byte offsets where word starts in backing file.
- AbstractFileWordList.Cache.Entry - Class in org.passay.dictionary
-
Cache entry that indicates cached word index and byte offset of start of word in backing file.
- AbstractFileWordList.FileWord - Class in org.passay.dictionary
-
Data structure containing word and byte offset into file where word begins in backing file.
- AbstractMessageResolver - Class in org.passay.resolver
-
Provides a baseline implementation of
AbstractMessageResolver.resolve(RuleResultDetail)which usesString.format(String, Object...)to resolve messages. - AbstractMessageResolver(Locale) - Constructor for class org.passay.resolver.AbstractMessageResolver
-
Creates a new abstract message resolver.
- AbstractReference - Class in org.passay.support
-
Common password reference implementation.
- AbstractReference(String, CharSequence) - Constructor for class org.passay.support.AbstractReference
-
Creates a new abstract reference.
- AbstractReference(String, CharSequence, Salt) - Constructor for class org.passay.support.AbstractReference
-
Creates a new abstract reference.
- AbstractReference(String, UnicodeString) - Constructor for class org.passay.support.AbstractReference
-
Creates a new abstract reference.
- AbstractReference(String, UnicodeString, Salt) - Constructor for class org.passay.support.AbstractReference
-
Creates a new abstract reference.
- AbstractRuleResult - Class in org.passay
-
Base class for rule results.
- AbstractRuleResult(boolean, RuleResultMetadata) - Constructor for class org.passay.AbstractRuleResult
-
Creates a new abstract rule result.
- AbstractValidationResult - Class in org.passay
-
Base class for validation results.
- AbstractValidationResult(boolean, double, RuleResultMetadata) - Constructor for class org.passay.AbstractValidationResult
-
Creates a new abstract validation result.
- AbstractValidationResult(boolean, RuleResultMetadata) - Constructor for class org.passay.AbstractValidationResult
-
Creates a new abstract validation result.
- AbstractWordList - Class in org.passay.dictionary
-
Provides common operations implementations for word lists.
- AbstractWordList() - Constructor for class org.passay.dictionary.AbstractWordList
- AbstractWordList.WordListIterator - Class in org.passay.dictionary
-
An iterator over the
WordList. - addError(List<RuleResultDetail>, String) - Method in class org.passay.rule.IllegalSequenceRule
-
Adds a validation error to a result.
- allocateDirect - Variable in class org.passay.dictionary.AbstractFileWordList.Cache
-
Whether to allocate a direct buffer.
- Allowed - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
allowed characters.
- AllowedCharacterRule - Class in org.passay.rule
-
Rule for determining if a password contains allowed characters.
- AllowedCharacterRule(UnicodeString) - Constructor for class org.passay.rule.AllowedCharacterRule
-
Create a new allowed character rule.
- AllowedCharacterRule(UnicodeString, boolean) - Constructor for class org.passay.rule.AllowedCharacterRule
-
Create a new allowed character rule.
- AllowedCharacterRule(UnicodeString, MatchBehavior) - Constructor for class org.passay.rule.AllowedCharacterRule
-
Create a new allowed character rule.
- AllowedCharacterRule(UnicodeString, MatchBehavior, boolean) - Constructor for class org.passay.rule.AllowedCharacterRule
-
Create a new allowed character rule.
- allowedCharacters - Variable in class org.passay.rule.AllowedCharacterRule
-
Stores the character code points that are allowed.
- AllowedRegexRule - Class in org.passay.rule
-
Rule for determining if a password matches an allowed regular expression.
- AllowedRegexRule(String) - Constructor for class org.passay.rule.AllowedRegexRule
-
Creates a new allowed regex rule.
- AllowedRegexRule(String, int) - Constructor for class org.passay.rule.AllowedRegexRule
-
Creates a new allowed regex rule.
- allowExposed - Variable in class org.passay.rule.HaveIBeenPwnedRule
-
Should password be allowed if it is found in the API results.
- allowOnException - Variable in class org.passay.rule.HaveIBeenPwnedRule
-
Should password be allowed if API calls throw exceptions.
- Alphabetical - Enum constant in enum org.passay.data.CyrillicModernSequenceData
-
Alphabetical sequence.
- Alphabetical - Enum constant in enum org.passay.data.CyrillicSequenceData
-
Alphabetical sequence.
- Alphabetical - Enum constant in enum org.passay.data.CzechSequenceData
-
Alphabetical sequence.
- Alphabetical - Enum constant in enum org.passay.data.EnglishCharacterData
-
Alphabetical characters (upper and lower case).
- Alphabetical - Enum constant in enum org.passay.data.EnglishSequenceData
-
Alphabetical sequence.
- Alphabetical - Enum constant in enum org.passay.data.GermanSequenceData
-
Alphabetical sequence.
- Alphabetical - Enum constant in enum org.passay.data.PolishSequenceData
-
Alphabetical sequence.
- alphabetSize - Variable in class org.passay.entropy.RandomPasswordEntropy
-
Size of the alphabet.
- apiUrl - Variable in class org.passay.rule.HaveIBeenPwnedRule
-
URL of the API.
- append(CharBuffer, int) - Method in interface org.passay.generate.CharacterAppender
-
Fills the target buffer with at most count characters from this appender.
- append(CharBuffer, int) - Method in class org.passay.generate.CharacterCharacteristicsAppender
- append(CharBuffer, int) - Method in class org.passay.generate.CharacterRuleAppender
- append(CharBuffer, int) - Method in class org.passay.generate.FillRemainingCharactersAppender
- appenders - Variable in class org.passay.generate.CharacterCharacteristicsAppender
-
Character rule appenders.
- appendRandomCharacters(UnicodeString, CharBuffer, int, Random) - Static method in class org.passay.PassayUtils
-
Appends characters to the supplied target with count random characters from source.
- applicationName - Variable in class org.passay.rule.HaveIBeenPwnedRule
-
Name of the app.
- applyTo(CharBuffer) - Method in class org.passay.support.PrefixSalt
- applyTo(CharBuffer) - Method in interface org.passay.support.Salt
-
Applies the salt to the password, returning the combined string to be digested.
- applyTo(CharBuffer) - Method in class org.passay.support.SuffixSalt
- ArraySorter - Interface in org.passay.dictionary.sort
-
Interface for array sort implementations.
- ArraysSort - Class in org.passay.dictionary.sort
-
Delegates sorting to
Arrays.sort(Object[], Comparator). - ArraysSort() - Constructor for class org.passay.dictionary.sort.ArraysSort
- ArrayWordList - Class in org.passay.dictionary
-
Provides a
WordListbacked by a string array. - ArrayWordList(String[]) - Constructor for class org.passay.dictionary.ArrayWordList
-
Creates a new case-sensitive word list backed by the given array.
- ArrayWordList(String[], boolean) - Constructor for class org.passay.dictionary.ArrayWordList
-
Creates a new word list backed by the given array.
- ArrayWordList(String[], boolean, ArraySorter) - Constructor for class org.passay.dictionary.ArrayWordList
-
Creates a new word list backed by the given array with optional sorting of the input string array.
- assertNotNullArg(T, String) - Static method in class org.passay.PassayUtils
-
Throws
IllegalArgumentExceptionif the supplied object is null. - assertNotNullArgOr(T, Predicate<T>, String) - Static method in class org.passay.PassayUtils
-
Throws
IllegalArgumentExceptionif the supplied object is null or the supplied predicate returns true.
B
- binarySearch(WordList, CharSequence) - Static method in class org.passay.dictionary.WordLists
-
Performs a binary search of the given word list for the given word.
- bloomFilter - Variable in class org.passay.dictionary.BloomFilterDictionary
-
Filter used for searching.
- BloomFilterDictionary - Class in org.passay.dictionary
-
Dictionary that is backed by a Bloom Filter.
- BloomFilterDictionary(BloomFilter<CharSequence>) - Constructor for class org.passay.dictionary.BloomFilterDictionary
-
Creates a new dictionary instance from the supplied
BloomFilter. - boundsPattern - Variable in class org.passay.rule.LengthComplexityRule.Interval
-
Interval pattern.
- BubbleSort - Class in org.passay.dictionary.sort
-
Provides an implementation of the bubble sort algorithm.
- BubbleSort() - Constructor for class org.passay.dictionary.sort.BubbleSort
- buffer - Variable in class org.passay.dictionary.FileWordList
-
Wrapper around read buffer.
- buffer - Variable in class org.passay.dictionary.MemoryMappedFileWordList
-
Memory-mapped buffer around file.
- buffer() - Method in class org.passay.dictionary.AbstractFileWordList
-
Returns the buffer providing the backing file data.
- buffer() - Method in class org.passay.dictionary.FileWordList
- buffer() - Method in class org.passay.dictionary.MemoryMappedFileWordList
- bytes - Variable in class org.passay.dictionary.FileWordList
-
Read buffer.
C
- cache - Variable in class org.passay.dictionary.AbstractFileWordList
-
Cache of indexes to file positions.
- Cache(long, int, boolean) - Constructor for class org.passay.dictionary.AbstractFileWordList.Cache
-
Creates a new cache instance.
- CASE_INSENSITIVE_COMPARATOR - Static variable in class org.passay.dictionary.TernaryTree
-
Case insensitive comparator.
- CASE_INSENSITIVE_COMPARATOR - Static variable in class org.passay.dictionary.WordLists
-
Case insensitive comparator.
- CASE_SENSITIVE_COMPARATOR - Static variable in class org.passay.dictionary.TernaryTree
-
Case sensitive comparator.
- CASE_SENSITIVE_COMPARATOR - Static variable in class org.passay.dictionary.WordLists
-
Case sensitive comparator.
- CharacterAppender - Interface in org.passay.generate
-
Interface for appending characters to a character buffer.
- characterAppenders - Variable in class org.passay.generate.PasswordGenerator
-
Character appenders derived from the rules.
- CharacterCharacteristicsAppender - Class in org.passay.generate
-
Character appender for
CharacterCharacteristicsRule. - CharacterCharacteristicsAppender(CharacterCharacteristicsRule, UnicodeString, UnicodeString, Random) - Constructor for class org.passay.generate.CharacterCharacteristicsAppender
-
Creates a new character characteristics appender.
- CharacterCharacteristicsRule - Class in org.passay.rule
-
Rule for determining if a password contains the desired mix of character types.
- CharacterCharacteristicsRule(boolean, boolean, int, List<CharacterRule>) - Constructor for class org.passay.rule.CharacterCharacteristicsRule
-
Creates a new character characteristics rule.
- CharacterCharacteristicsRule(boolean, boolean, int, CharacterRule...) - Constructor for class org.passay.rule.CharacterCharacteristicsRule
-
Creates a new character characteristics rule.
- CharacterCharacteristicsRule(int, List<CharacterRule>) - Constructor for class org.passay.rule.CharacterCharacteristicsRule
-
Creates a new character characteristics rule.
- CharacterCharacteristicsRule(int, CharacterRule...) - Constructor for class org.passay.rule.CharacterCharacteristicsRule
-
Creates a new character characteristics rule.
- CharacterCharacteristicsRule(List<CharacterRule>) - Constructor for class org.passay.rule.CharacterCharacteristicsRule
-
Creates a new character characteristics rule.
- CharacterCharacteristicsRule(CharacterRule...) - Constructor for class org.passay.rule.CharacterCharacteristicsRule
-
Creates a new character characteristics rule.
- characterData - Variable in class org.passay.rule.CharacterRule
-
Character data for this rule.
- CharacterData - Interface in org.passay.data
-
Input data used by
CharacterRule. - CharacterOccurrencesRule - Class in org.passay.rule
-
Validates that a password does not contain too many occurrences of the same character.
- CharacterOccurrencesRule(int) - Constructor for class org.passay.rule.CharacterOccurrencesRule
-
Creates a new character occurrences rule.
- CharacterRule - Class in org.passay.rule
-
Validates whether a password contains a certain number of a type of character.
- CharacterRule(CharacterData) - Constructor for class org.passay.rule.CharacterRule
-
Creates a new character rule.
- CharacterRule(CharacterData, int) - Constructor for class org.passay.rule.CharacterRule
-
Creates a new character rule.
- CharacterRuleAppender - Class in org.passay.generate
-
Character appender for
CharacterRule. - CharacterRuleAppender(CharacterRule, UnicodeString, UnicodeString, Random) - Constructor for class org.passay.generate.CharacterRuleAppender
-
Creates a new character rule appender.
- characters - Variable in enum org.passay.data.CyrillicCharacterData
-
Characters.
- characters - Variable in enum org.passay.data.CyrillicModernCharacterData
-
Characters.
- characters - Variable in enum org.passay.data.CzechCharacterData
-
Characters.
- characters - Variable in enum org.passay.data.EnglishCharacterData
-
Characters.
- characters - Variable in enum org.passay.data.GermanCharacterData
-
Characters.
- characters - Variable in enum org.passay.data.PolishCharacterData
-
Characters.
- characters - Variable in class org.passay.generate.CharacterRuleAppender
-
Valid characters.
- characters - Variable in class org.passay.generate.FillRemainingCharactersAppender
-
Valid characters.
- characters - Variable in class org.passay.UnicodeString
-
Stores the characters.
- CharacterSequence - Class in org.passay.data
-
Models a sequence of characters in one or more forms as strings of equal length where each string represents one form of characters in the sequence.
- CharacterSequence(String...) - Constructor for class org.passay.data.CharacterSequence
-
Creates a new instance from one or more sequences.
- charAt(int) - Method in class org.passay.UnicodeString
- charBuf - Variable in class org.passay.dictionary.AbstractFileWordList
-
Buffer to hold decoded word read from file.
- CHARS - Static variable in class org.passay.rule.WhitespaceRule
-
Characters: TAB,LF,VT,FF,CR,Space.
- charset - Variable in class org.passay.rule.DigestDictionaryRule
-
Character set to use for undigested passwords.
- charset - Variable in class org.passay.rule.DigestHistoryRule
-
Character set to use for undigested passwords.
- charset - Variable in class org.passay.rule.DigestSourceRule
-
Character set to use for undigested passwords.
- charsetDecoder - Variable in class org.passay.dictionary.AbstractFileWordList
-
Charset decoder.
- checkRange(int) - Method in class org.passay.dictionary.AbstractWordList
-
Throws an
IndexOutOfBoundsExceptionif the supplied index is less than 0 or greater than or equal to the size of this word list. - clear() - Method in class org.passay.PasswordData
-
Clears the memory of the underlying objects in this password data.
- clear() - Method in class org.passay.support.AbstractReference
- clear() - Method in interface org.passay.support.Reference
-
Clears the memory of the underlying objects in this reference.
- clear() - Method in class org.passay.UnicodeString
-
Writes zeros to the underlying code points array.
- clear(Object) - Static method in class org.passay.PassayUtils
-
Clears the supplied object by writing zeros to its data structure.
- close() - Method in class org.passay.dictionary.AbstractFileWordList
-
Closes the underlying file and make the cache available for garbage collection.
- codePointAt(int) - Method in class org.passay.UnicodeString
-
Returns the code point at the supplied index.
- codePointCount() - Method in class org.passay.UnicodeString
-
Returns the number of code points.
- codePointCount(String) - Static method in class org.passay.PassayUtils
-
Returns the number of code points in the supplied string.
- codePoints - Variable in class org.passay.UnicodeString
-
Stores the character code points.
- comparator - Variable in class org.passay.dictionary.AbstractWordList
-
Word comparator.
- comparator - Variable in class org.passay.dictionary.TernaryTree
-
Character comparator.
- CompositeRule - Class in org.passay.rule
-
Rulethat is composed of other rules. - CompositeRule(List<? extends Rule>) - Constructor for class org.passay.rule.CompositeRule
-
Creates a new composite rule.
- CompositeRule(Rule...) - Constructor for class org.passay.rule.CompositeRule
-
See
CompositeRule(List). - COMPOSITION_CHARACTERISTICS_REQUIREMENT - Static variable in class org.passay.entropy.ShannonEntropyFactory
-
Number of character characteristics rules to enforce for a password to have composition.
- COMPOSITION_VALIDATOR - Static variable in class org.passay.entropy.ShannonEntropyFactory
-
Validator which decides whether a password has composition.
- connectTimeout - Variable in class org.passay.rule.HaveIBeenPwnedRule
-
Maximum waiting time for established connection.
- contains(UnicodeString) - Method in class org.passay.UnicodeString
-
Returns whether this unicode string contains the supplied string.
- Contains - Enum constant in enum org.passay.rule.MatchBehavior
- copy(PasswordData) - Static method in class org.passay.PasswordData
-
Returns a new password data initialized with the supplied data.
- copy(UnicodeString) - Static method in class org.passay.UnicodeString
-
Creates a copy of the supplied unicode string.
- CountCategory() - Constructor for enum org.passay.RuleResultMetadata.CountCategory
- countMatchingCodePoints(int[]) - Method in class org.passay.UnicodeString
-
Returns the number of code points in the supplied input that exist in this unicode string.
- counts - Variable in class org.passay.RuleResultMetadata
-
Character count metadata.
- createEntropy(boolean, PasswordData) - Static method in class org.passay.entropy.ShannonEntropyFactory
-
Creates a new shannon entropy.
- createEntropy(List<? extends Rule>, PasswordData) - Static method in class org.passay.entropy.RandomPasswordEntropyFactory
-
Creates a new random password entropy.
- createEntropy(List<? extends Rule>, PasswordData) - Static method in class org.passay.entropy.ShannonEntropyFactory
-
Creates a new shannon entropy.
- createFromReader(Reader[]) - Static method in class org.passay.dictionary.WordLists
-
Creates a case-sensitive
ArrayWordListby reading the contents of the given readers. - createFromReader(Reader[], boolean) - Static method in class org.passay.dictionary.WordLists
-
Creates an
ArrayWordListby reading the contents of the given readers. - createFromReader(Reader[], boolean, ArraySorter) - Static method in class org.passay.dictionary.WordLists
-
Creates an
ArrayWordListby reading the contents of the given file with support for sorting file contents. - createRuleResultDetailParameters() - Method in class org.passay.rule.AllowedRegexRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters() - Method in class org.passay.rule.LengthRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(int) - Method in class org.passay.rule.AllowedCharacterRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(int) - Method in class org.passay.rule.CharacterCharacteristicsRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(int) - Method in class org.passay.rule.HistoryRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(int) - Method in class org.passay.rule.IllegalCharacterRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(int) - Method in class org.passay.rule.NumberRangeRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(int) - Method in class org.passay.rule.WhitespaceRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(int, int, int) - Method in class org.passay.rule.LengthComplexityRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(CharSequence) - Method in class org.passay.rule.AbstractDictionaryRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(CharSequence) - Method in class org.passay.rule.UsernameRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(String) - Method in class org.passay.rule.CharacterRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(String) - Method in class org.passay.rule.IllegalRegexRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(String) - Method in class org.passay.rule.SourceRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(String, int) - Method in class org.passay.rule.CharacterOccurrencesRule
-
Creates the parameter data for the rule result detail.
- createRuleResultDetailParameters(List<CharSequence>) - Method in class org.passay.rule.RepeatCharactersRule
-
Creates the parameter data for the rule result detail.
- createRuleResultMetadata(PasswordData) - Method in class org.passay.rule.AllowedCharacterRule
-
Creates the rule result metadata.
- createRuleResultMetadata(PasswordData) - Method in class org.passay.rule.CharacterRule
-
Creates the rule result metadata.
- createRuleResultMetadata(PasswordData) - Method in class org.passay.rule.IllegalCharacterRule
-
Creates the rule result metadata.
- createRuleResultMetadata(PasswordData) - Method in class org.passay.rule.LengthRule
-
Creates the rule result metadata.
- createRuleResultMetadata(PasswordData) - Method in class org.passay.rule.WhitespaceRule
-
Creates the rule result metadata.
- CyrillicCharacterData - Enum in org.passay.data
-
Cyrillic character data.
- CyrillicCharacterData(String, String) - Constructor for enum org.passay.data.CyrillicCharacterData
-
Creates a new cyrillic character data.
- CyrillicModernCharacterData - Enum in org.passay.data
-
Cyrillic character data.
- CyrillicModernCharacterData(String, String) - Constructor for enum org.passay.data.CyrillicModernCharacterData
-
Creates a new cyrillic character data.
- CyrillicModernSequenceData - Enum in org.passay.data
-
Cyrillic character sequence.
- CyrillicModernSequenceData(String, CharacterSequence[]) - Constructor for enum org.passay.data.CyrillicModernSequenceData
-
Creates new cyrillic sequence data.
- CyrillicSequenceData - Enum in org.passay.data
-
Cyrillic character sequence.
- CyrillicSequenceData(String, CharacterSequence[]) - Constructor for enum org.passay.data.CyrillicSequenceData
-
Creates new cyrillic sequence data.
- CzechCharacterData - Enum in org.passay.data
-
Czech character data.
- CzechCharacterData(String, String) - Constructor for enum org.passay.data.CzechCharacterData
-
Creates a new czech character data.
- CzechSequenceData - Enum in org.passay.data
-
Czech character sequence.
- CzechSequenceData(String, CharacterSequence[]) - Constructor for enum org.passay.data.CzechSequenceData
-
Creates new czech sequence data.
D
- dataSource - Variable in class org.passay.dictionary.JDBCDictionary
-
JDBC data source.
- DEFAULT_CACHE_PERCENT - Static variable in class org.passay.dictionary.AbstractFileWordList
-
Default cache percent.
- DEFAULT_CONNECT_TIMEOUT - Static variable in class org.passay.rule.HaveIBeenPwnedRule
-
Default time to wait for HTTP connect.
- DEFAULT_ENTROPY_PROVIDER - Static variable in class org.passay.DefaultPasswordValidator
-
Calculates the entropy of the given
PasswordDatabased on the password rules specified. - DEFAULT_MESSAGE_PATH - Static variable in class org.passay.resolver.PropertiesMessageResolver
-
Classpath location of default message map.
- DEFAULT_READ_TIMEOUT - Static variable in class org.passay.rule.HaveIBeenPwnedRule
-
Default time to wait for HTTP response.
- DEFAULT_RETRY_LIMIT - Static variable in class org.passay.generate.PasswordGenerator
-
Default retry limit.
- DEFAULT_SEQUENCE_COUNT - Static variable in class org.passay.rule.RepeatCharactersRule
-
Default number of sequences, value is 1.
- DEFAULT_SEQUENCE_LENGTH - Static variable in class org.passay.rule.IllegalSequenceRule
-
Default length of keyboard sequence, value is 5.
- DEFAULT_SEQUENCE_LENGTH - Static variable in class org.passay.rule.RepeatCharactersRule
-
Default length of sequence, value is 5.
- DEFAULT_URL - Static variable in class org.passay.rule.HaveIBeenPwnedRule
-
URL for pwned passwords.
- DefaultPasswordValidator - Class in org.passay
-
Default implementation for evaluating multiple password rules against a candidate password.
- DefaultPasswordValidator(boolean, BiFunction<List<? extends Rule>, PasswordData, Entropy>, List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(boolean, BiFunction<List<? extends Rule>, PasswordData, Entropy>, Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(boolean, List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(boolean, MessageResolver, BiFunction<List<? extends Rule>, PasswordData, Entropy>, List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(boolean, MessageResolver, BiFunction<List<? extends Rule>, PasswordData, Entropy>, Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(boolean, MessageResolver, List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(boolean, MessageResolver, Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(boolean, Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(BiFunction<List<? extends Rule>, PasswordData, Entropy>, List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(BiFunction<List<? extends Rule>, PasswordData, Entropy>, Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(MessageResolver, BiFunction<List<? extends Rule>, PasswordData, Entropy>, List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(MessageResolver, BiFunction<List<? extends Rule>, PasswordData, Entropy>, Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(MessageResolver, List<? extends Rule>) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(MessageResolver, Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DefaultPasswordValidator(Rule...) - Constructor for class org.passay.DefaultPasswordValidator
-
Creates a new default password validator.
- DEQwertz - Enum constant in enum org.passay.data.GermanSequenceData
-
German QWERTZ keyboard sequence.
- description - Variable in enum org.passay.rule.MatchBehavior
-
The description of the match behavior.
- details - Variable in class org.passay.FailureRuleResult
-
Details associated with a password rule failure.
- details - Variable in class org.passay.FailureValidationResult
-
Details associated with a password rule failure.
- dictionary - Variable in class org.passay.rule.AbstractDictionaryRule
-
Dictionary of words.
- Dictionary - Interface in org.passay.dictionary
-
Base interface for all dictionaries.
- DictionaryRule - Class in org.passay.rule
-
Rule for determining if a password matches a dictionary word.
- DictionaryRule(Dictionary) - Constructor for class org.passay.rule.DictionaryRule
-
Creates a new dictionary rule.
- DictionaryRule(Dictionary, boolean) - Constructor for class org.passay.rule.DictionaryRule
-
Creates a new dictionary rule.
- DictionarySubstringRule - Class in org.passay.rule
-
Rule for determining if a password contains a dictionary word with optional checking for reversed words.
- DictionarySubstringRule(Dictionary) - Constructor for class org.passay.rule.DictionarySubstringRule
-
Creates a new dictionary substring rule.
- DictionarySubstringRule(Dictionary, boolean) - Constructor for class org.passay.rule.DictionarySubstringRule
-
Creates a new dictionary substring rule.
- difference(UnicodeString) - Method in class org.passay.UnicodeString
-
Returns the difference of this string and the other string.
- DigestDictionaryRule - Class in org.passay.rule
-
Rule for determining if a password matches a digested password that is stored in a dictionary.
- DigestDictionaryRule(HashBean<CharSequence>, Dictionary) - Constructor for class org.passay.rule.DigestDictionaryRule
-
Creates new digest history rule which operates on password references that were digested with the supplied hash.
- DigestDictionaryRule(HashBean<CharSequence>, Dictionary, boolean) - Constructor for class org.passay.rule.DigestDictionaryRule
-
Creates new digest history rule which operates on password references that were digested with the supplied hash.
- DigestDictionaryRule(HashBean<CharSequence>, Dictionary, boolean, Charset) - Constructor for class org.passay.rule.DigestDictionaryRule
-
Creates new digest history rule which operates on password references that were digested with the supplied hash.
- DigestHistoryRule - Class in org.passay.rule
-
Rule for determining if a password matches one of any previous digested password a user has chosen.
- DigestHistoryRule(HashBean<CharSequence>) - Constructor for class org.passay.rule.DigestHistoryRule
-
Creates new digest history rule which operates on password references that were digested with the supplied hash.
- DigestHistoryRule(HashBean<CharSequence>, Charset) - Constructor for class org.passay.rule.DigestHistoryRule
-
Creates new digest history rule which operates on password references that were digested with the supplied hash.
- DigestSourceRule - Class in org.passay.rule
-
Rule for determining if a password matches a digested password from a different source.
- DigestSourceRule(HashBean<CharSequence>) - Constructor for class org.passay.rule.DigestSourceRule
-
Creates new digest source rule which operates on password references with the supplied label.
- DigestSourceRule(HashBean<CharSequence>, Charset) - Constructor for class org.passay.rule.DigestSourceRule
-
Creates new digest source rule which operates on password references with the supplied label.
- Digit - Enum constant in enum org.passay.data.EnglishCharacterData
-
Digit characters.
- Digit - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
digit characters.
- doWordSearch(UnicodeString) - Method in class org.passay.rule.AbstractDictionaryRule
-
Searches the dictionary with the supplied text.
- doWordSearch(UnicodeString) - Method in class org.passay.rule.DictionaryRule
- doWordSearch(UnicodeString) - Method in class org.passay.rule.DictionarySubstringRule
- doWordSearch(UnicodeString) - Method in class org.passay.rule.DigestDictionaryRule
E
- EMPTY_ARRAY - Static variable in class org.passay.dictionary.TernaryTree
-
An empty results array.
- endOfWord - Variable in class org.passay.dictionary.TernaryNode
-
whether this character is the end of a word.
- endsWith(UnicodeString) - Method in class org.passay.UnicodeString
-
Returns whether this unicode string ends with the supplied suffix.
- EndsWith - Enum constant in enum org.passay.rule.MatchBehavior
- EnglishCharacterData - Enum in org.passay.data
-
English language character data.
- EnglishCharacterData(String, String) - Constructor for enum org.passay.data.EnglishCharacterData
-
Creates a new english character data.
- EnglishSequenceData - Enum in org.passay.data
-
English character sequences.
- EnglishSequenceData(String, CharacterSequence[]) - Constructor for enum org.passay.data.EnglishSequenceData
-
Creates a new english sequence data.
- entropy - Variable in class org.passay.AbstractValidationResult
-
Entropy of the password used for validation.
- Entropy - Interface in org.passay.entropy
-
Interface for entropy estimates.
- entropyProvider - Variable in class org.passay.DefaultPasswordValidator
-
Entropy provider.
- Entry(int, long) - Constructor for class org.passay.dictionary.AbstractFileWordList.Cache.Entry
-
Creates a new cache entry.
- Entry(String, List<Rule>) - Constructor for class org.passay.rule.LengthComplexityRule.Entry
-
Creates a new entry.
- Entry(String, Rule...) - Constructor for class org.passay.rule.LengthComplexityRule.Entry
-
Creates a new entry.
- eqkid - Variable in class org.passay.dictionary.TernaryNode
-
equal child of this node.
- equals(Object) - Method in class org.passay.UnicodeString
- ERROR_CODE - Static variable in class org.passay.rule.AllowedCharacterRule
-
Error code for allowed character failures.
- ERROR_CODE - Static variable in class org.passay.rule.AllowedRegexRule
-
Error code for regex validation failures.
- ERROR_CODE - Static variable in class org.passay.rule.CharacterCharacteristicsRule
-
Error code for insufficient number of characteristics.
- ERROR_CODE - Static variable in class org.passay.rule.CharacterOccurrencesRule
-
Error code for too many occurrences of a character.
- ERROR_CODE - Static variable in class org.passay.rule.DictionaryRule
-
Error code for matching dictionary word.
- ERROR_CODE - Static variable in class org.passay.rule.DictionarySubstringRule
-
Error code for matching dictionary word.
- ERROR_CODE - Static variable in class org.passay.rule.DigestDictionaryRule
-
Error code for matching dictionary word.
- ERROR_CODE - Static variable in class org.passay.rule.HaveIBeenPwnedRule
-
Error code for exposed passwords.
- ERROR_CODE - Static variable in class org.passay.rule.HistoryRule
-
Error code for history violation.
- ERROR_CODE - Static variable in class org.passay.rule.IllegalCharacterRule
-
Error code for illegal character failures.
- ERROR_CODE - Static variable in class org.passay.rule.IllegalRegexRule
-
Error code for regex validation failures.
- ERROR_CODE - Static variable in class org.passay.rule.LengthComplexityRule
-
Error code for insufficient complexity.
- ERROR_CODE - Static variable in class org.passay.rule.NumberRangeRule
-
Error code for whitespace rule violation.
- ERROR_CODE - Static variable in class org.passay.rule.RepeatCharactersRule
-
Error code for regex validation failures.
- ERROR_CODE - Static variable in class org.passay.rule.SourceRule
-
Error code for regex validation failures.
- ERROR_CODE - Static variable in class org.passay.rule.UsernameRule
-
Error code for matching username.
- ERROR_CODE - Static variable in class org.passay.rule.WhitespaceRule
-
Error code for whitespace rule violation.
- ERROR_CODE_MAX - Static variable in class org.passay.rule.LengthRule
-
Error code for password too long.
- ERROR_CODE_MIN - Static variable in class org.passay.rule.LengthRule
-
Error code for password too short.
- ERROR_CODE_REVERSED - Static variable in class org.passay.rule.DictionaryRule
-
Error code for matching reversed dictionary word.
- ERROR_CODE_REVERSED - Static variable in class org.passay.rule.DictionarySubstringRule
-
Error code for matching reversed dictionary word.
- ERROR_CODE_REVERSED - Static variable in class org.passay.rule.DigestDictionaryRule
-
Error code for matching reversed dictionary word.
- ERROR_CODE_REVERSED - Static variable in class org.passay.rule.UsernameRule
-
Error code for matching reversed dictionary word.
- ERROR_CODE_RULES - Static variable in class org.passay.rule.LengthComplexityRule
-
Error code for missing complexity rules.
- errorCode - Variable in enum org.passay.data.CyrillicCharacterData
-
Error code.
- errorCode - Variable in enum org.passay.data.CyrillicModernCharacterData
-
Error code.
- errorCode - Variable in enum org.passay.data.CyrillicModernSequenceData
-
Error code.
- errorCode - Variable in enum org.passay.data.CyrillicSequenceData
-
Error code.
- errorCode - Variable in enum org.passay.data.CzechCharacterData
-
Error code.
- errorCode - Variable in enum org.passay.data.CzechSequenceData
-
Error code.
- errorCode - Variable in enum org.passay.data.EnglishCharacterData
-
Error code.
- errorCode - Variable in enum org.passay.data.EnglishSequenceData
-
Error code.
- errorCode - Variable in enum org.passay.data.GermanCharacterData
-
Error code.
- errorCode - Variable in enum org.passay.data.GermanSequenceData
-
Error code.
- errorCode - Variable in enum org.passay.data.PolishCharacterData
-
Error code.
- errorCode - Variable in enum org.passay.data.PolishSequenceData
-
Error code.
- errorCodes - Variable in class org.passay.RuleResultDetail
-
Detail error codes.
- estimate() - Method in interface org.passay.entropy.Entropy
-
Returns the estimated entropy bits of a password.
- estimate() - Method in class org.passay.entropy.RandomPasswordEntropy
-
Returns the entropy bits of a randomly generated password given the size of the unique characters used (alphabetSize) and the size of the password.
- estimate() - Method in class org.passay.entropy.ShannonEntropy
-
Returns the entropy bits of a user selected password.
- executeStatement(String, Class<T>, Object...) - Method in class org.passay.dictionary.JDBCDictionary
-
Executes a prepared statement against the database.
F
- failFast - Variable in class org.passay.DefaultPasswordValidator
-
Whether password validation should fail fast.
- FailureRuleResult - Class in org.passay
-
Result of a password rule failure.
- FailureRuleResult() - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureRuleResult(List<RuleResultDetail>) - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureRuleResult(RuleResultDetail) - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureRuleResult(RuleResultDetail...) - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureRuleResult(RuleResultMetadata) - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureRuleResult(RuleResultMetadata, List<RuleResultDetail>) - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureRuleResult(RuleResultMetadata, RuleResultDetail) - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureRuleResult(RuleResultMetadata, RuleResultDetail...) - Constructor for class org.passay.FailureRuleResult
-
Creates a new failure rule result.
- FailureValidationResult - Class in org.passay
-
Result of a password validator failure.
- FailureValidationResult() - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- FailureValidationResult(double) - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- FailureValidationResult(double, RuleResultMetadata) - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- FailureValidationResult(double, RuleResultMetadata, List<RuleResultDetail>) - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- FailureValidationResult(double, RuleResultMetadata, List<RuleResultDetail>, List<String>) - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- FailureValidationResult(RuleResultMetadata) - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- FailureValidationResult(RuleResultMetadata, List<RuleResultDetail>) - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- FailureValidationResult(RuleResultMetadata, List<RuleResultDetail>, List<String>) - Constructor for class org.passay.FailureValidationResult
-
Creates a new failure validation result.
- fallbackMessageResolver - Variable in class org.passay.resolver.SpringMessageResolver
-
The
MessageResolverfor fallback - file - Variable in class org.passay.dictionary.AbstractFileWordList
-
File containing words.
- FileWord(String, long) - Constructor for class org.passay.dictionary.AbstractFileWordList.FileWord
-
Creates a new instance with a word and offset.
- FileWordList - Class in org.passay.dictionary
-
Provides an implementation of a
WordListthat is backed by a file. - FileWordList(RandomAccessFile) - Constructor for class org.passay.dictionary.FileWordList
-
Creates a new case-sensitive word list from the supplied file.
- FileWordList(RandomAccessFile, boolean) - Constructor for class org.passay.dictionary.FileWordList
-
Creates a new word list from the supplied file.
- FileWordList(RandomAccessFile, boolean, int) - Constructor for class org.passay.dictionary.FileWordList
-
Creates a new word list from the supplied file.
- FileWordList(RandomAccessFile, boolean, int, CharsetDecoder) - Constructor for class org.passay.dictionary.FileWordList
-
Creates a new word list from the supplied file.
- FileWordList(RandomAccessFile, boolean, int, CharsetDecoder, boolean) - Constructor for class org.passay.dictionary.FileWordList
-
Creates a new word list from the supplied file.
- fill() - Method in class org.passay.dictionary.AbstractFileWordList
-
Fills the buffer from the backing file.
- fill() - Method in class org.passay.dictionary.FileWordList
- fill() - Method in class org.passay.dictionary.MemoryMappedFileWordList
- FillRemainingCharactersAppender - Class in org.passay.generate
-
Character appender for filling a password with valid characters.
- FillRemainingCharactersAppender(List<? extends Rule>, UnicodeString, UnicodeString, Random) - Constructor for class org.passay.generate.FillRemainingCharactersAppender
-
Creates a new fill appender.
- FIRST_PHASE_BONUS - Static variable in class org.passay.entropy.ShannonEntropy
-
Entropy bonus of the first phase.
- FIRST_PHASE_LENGTH - Static variable in class org.passay.entropy.ShannonEntropy
-
Length of the first phase.
- forms - Variable in class org.passay.data.CharacterSequence
-
Character forms.
G
- generate() - Method in class org.passay.generate.PasswordGenerator
-
Generates a new password of the configured length which meets the requirements of the configured rules.
- Generated - Enum constant in enum org.passay.support.Origin
-
a password which was generated by a sufficient random source.
- GermanCharacterData - Enum in org.passay.data
-
german character data.
- GermanCharacterData(String, String) - Constructor for enum org.passay.data.GermanCharacterData
-
Creates german character data.
- GermanSequenceData - Enum in org.passay.data
-
german character sequence.
- GermanSequenceData(String, CharacterSequence[]) - Constructor for enum org.passay.data.GermanSequenceData
-
Creates new german sequence data.
- get(int) - Method in class org.passay.dictionary.AbstractFileWordList.Cache
-
Gets the byte offset into the backing file for the word at the index that is less than or equal to the supplied index.
- get(int) - Method in class org.passay.dictionary.AbstractFileWordList
- get(int) - Method in class org.passay.dictionary.ArrayWordList
- get(int) - Method in interface org.passay.dictionary.WordList
-
Returns the word at the given 0-based index.
- getAllowedCharacters() - Method in class org.passay.rule.AllowedCharacterRule
-
Returns the allowed characters for this rule.
- getAllowedCharacters(List<? extends Rule>) - Method in class org.passay.generate.PasswordGenerator
-
Returns the unique set of allowed characters as defined in the supplied list of
AllowedCharacterRule. - getBloomFilter() - Method in class org.passay.dictionary.BloomFilterDictionary
-
Returns the bloom filter used for searching.
- getCharacterAppenders(List<? extends Rule>, UnicodeString, UnicodeString, Random) - Method in class org.passay.generate.PasswordGenerator
-
Returns the list of character appenders used for password generation.
- getCharacterData() - Method in class org.passay.rule.CharacterRule
-
Returns the character data for this rule.
- getCharacters() - Method in interface org.passay.data.CharacterData
-
Returns the characters.
- getCharacters() - Method in enum org.passay.data.CyrillicCharacterData
- getCharacters() - Method in enum org.passay.data.CyrillicModernCharacterData
- getCharacters() - Method in enum org.passay.data.CzechCharacterData
- getCharacters() - Method in enum org.passay.data.EnglishCharacterData
- getCharacters() - Method in enum org.passay.data.GermanCharacterData
- getCharacters() - Method in enum org.passay.data.PolishCharacterData
- getCharacters() - Method in interface org.passay.generate.CharacterAppender
-
Returns the characters that may be used in by this appender.
- getCharacters() - Method in class org.passay.generate.CharacterCharacteristicsAppender
- getCharacters() - Method in class org.passay.generate.CharacterRuleAppender
- getCharacters() - Method in class org.passay.generate.FillRemainingCharactersAppender
- getCharacters(List<? extends Rule>) - Method in class org.passay.generate.FillRemainingCharactersAppender
-
Return a unicode string that contains the unique characters from all
CharacterRuleorCharacterCharacteristicsRulecontained in the supplied list. - getComparator() - Method in class org.passay.dictionary.AbstractWordList
- getComparator() - Method in interface org.passay.dictionary.WordList
-
Returns the comparator that should be used to compare a search term with candidate words in the list.
- getConnection() - Method in class org.passay.dictionary.JDBCDictionary
-
Returns a connection that is ready for use.
- getCount(RuleResultMetadata.CountCategory) - Method in class org.passay.RuleResultMetadata
-
Returns the count for the supplied category.
- getCounts() - Method in class org.passay.RuleResultMetadata
-
Returns an unmodifiable map of all count metadata.
- getDefaultBundle() - Static method in class org.passay.resolver.ResourceBundleMessageResolver
-
Returns the default resource bundle which is found in passay.properties.
- getDefaultProperties() - Static method in class org.passay.resolver.PropertiesMessageResolver
-
Returns the default mapping of message keys to message strings.
- getDetails() - Method in class org.passay.AbstractRuleResult
- getDetails() - Method in class org.passay.AbstractValidationResult
- getDetails() - Method in class org.passay.FailureRuleResult
- getDetails() - Method in class org.passay.FailureValidationResult
- getDetails() - Method in interface org.passay.RuleResult
-
Returns any details associated with the rule verification.
- getDetails() - Method in interface org.passay.ValidationResult
-
Returns any details associated with the rule verification.
- getDictionary() - Method in class org.passay.rule.AbstractDictionaryRule
-
Returns the dictionary used to search for passwords.
- getEntropy() - Method in class org.passay.AbstractValidationResult
- getEntropy() - Method in interface org.passay.ValidationResult
-
Returns the calculated entropy of the
PasswordDataused to produce this validation result, based on the password rules specified. - getEntropyProvider() - Method in class org.passay.DefaultPasswordValidator
- getEntropyProvider() - Method in interface org.passay.PasswordValidator
-
Returns the entropy provider for this validator.
- getEqkid() - Method in class org.passay.dictionary.TernaryNode
-
Returns the eqkid node in relation to this node.
- getErrorCode() - Method in interface org.passay.data.CharacterData
-
Return the error code used for message resolution.
- getErrorCode() - Method in enum org.passay.data.CyrillicCharacterData
- getErrorCode() - Method in enum org.passay.data.CyrillicModernCharacterData
- getErrorCode() - Method in enum org.passay.data.CyrillicModernSequenceData
- getErrorCode() - Method in enum org.passay.data.CyrillicSequenceData
- getErrorCode() - Method in enum org.passay.data.CzechCharacterData
- getErrorCode() - Method in enum org.passay.data.CzechSequenceData
- getErrorCode() - Method in enum org.passay.data.EnglishCharacterData
- getErrorCode() - Method in enum org.passay.data.EnglishSequenceData
- getErrorCode() - Method in enum org.passay.data.GermanCharacterData
- getErrorCode() - Method in enum org.passay.data.GermanSequenceData
- getErrorCode() - Method in enum org.passay.data.PolishCharacterData
- getErrorCode() - Method in enum org.passay.data.PolishSequenceData
- getErrorCode() - Method in interface org.passay.data.SequenceData
-
Return the error code used for message resolution.
- getErrorCode() - Method in class org.passay.RuleResultDetail
-
Returns the least-specific error code.
- getErrorCode(boolean) - Method in class org.passay.rule.AbstractDictionaryRule
-
Returns the error code for this rule.
- getErrorCode(boolean) - Method in class org.passay.rule.DictionaryRule
- getErrorCode(boolean) - Method in class org.passay.rule.DictionarySubstringRule
- getErrorCode(boolean) - Method in class org.passay.rule.DigestDictionaryRule
- getErrorCodes() - Method in class org.passay.RuleResultDetail
-
Returns an array of error codes as provided at creation time.
- getFile() - Method in class org.passay.dictionary.AbstractFileWordList
-
Returns the file backing this list.
- getForms() - Method in class org.passay.data.CharacterSequence
- getHexDigest(PasswordData) - Static method in class org.passay.rule.HaveIBeenPwnedRule
-
Returns an uppercase, hex encoded, SHA1 hash of the password.
- getHikid() - Method in class org.passay.dictionary.TernaryNode
-
Returns the hikid node in relation to this node.
- getIllegalCharacters() - Method in class org.passay.rule.IllegalCharacterRule
-
Returns the illegal character code points for this rule.
- getIllegalCharacters(List<? extends Rule>) - Method in class org.passay.generate.PasswordGenerator
-
Returns the unique set of illegal characters as defined in the supplied list of
IllegalCharacterRule. - getLabel() - Method in class org.passay.support.AbstractReference
-
Returns the label.
- getLocale() - Method in class org.passay.resolver.AbstractMessageResolver
-
Returns the locale used by this message resolver.
- getLokid() - Method in class org.passay.dictionary.TernaryNode
-
Returns the lokid node in relation to this node.
- getLowerRange() - Method in class org.passay.rule.NumberRangeRule
-
Returns the lower range for this rule.
- getMatchBehavior() - Method in class org.passay.rule.AllowedCharacterRule
-
Returns the match behavior for this rule.
- getMatchBehavior() - Method in class org.passay.rule.IllegalCharacterRule
-
Returns the match behavior for this rule.
- getMatchBehavior() - Method in class org.passay.rule.NumberRangeRule
-
Returns the match behavior for this rule.
- getMatchBehavior() - Method in class org.passay.rule.UsernameRule
-
Returns the match behavior for this rule.
- getMatchBehavior() - Method in class org.passay.rule.WhitespaceRule
-
Returns the match behavior for this rule.
- getMatchingCharacters(String, UnicodeString, int) - Static method in class org.passay.rule.CharacterRule
-
Returns all the characters in the input string that are also in the characters string.
- getMaximumLength() - Method in class org.passay.rule.LengthRule
-
Returns the maximum password length.
- getMaxOccurrences() - Method in class org.passay.rule.CharacterOccurrencesRule
-
Returns the max occurrences.
- getMessage(String) - Method in class org.passay.resolver.AbstractMessageResolver
-
Returns the message for the supplied key.
- getMessage(String) - Method in class org.passay.resolver.PropertiesMessageResolver
- getMessage(String) - Method in class org.passay.resolver.ResourceBundleMessageResolver
- getMessageResolver() - Method in class org.passay.DefaultPasswordValidator
- getMessageResolver() - Method in interface org.passay.PasswordValidator
-
Returns the message resolver for this validator.
- getMessages() - Method in class org.passay.AbstractValidationResult
- getMessages() - Method in class org.passay.FailureValidationResult
- getMessages() - Method in interface org.passay.ValidationResult
-
Returns a list of human-readable messages by iterating over the details in a failed rule result.
- getMetadata() - Method in class org.passay.AbstractRuleResult
- getMetadata() - Method in class org.passay.AbstractValidationResult
- getMetadata() - Method in interface org.passay.RuleResult
-
Returns metadata associated with the rule verification.
- getMetadata() - Method in interface org.passay.ValidationResult
-
Returns metadata associated with the rule verification.
- getMinimumLength() - Method in class org.passay.rule.LengthRule
-
Returns the minimum password length.
- getNodeStats() - Method in class org.passay.dictionary.TernaryTree
-
Returns a histogram of how many words end at each depth.
- getNodeStats(TernaryNode, int, Map<Integer, Integer>) - Method in class org.passay.dictionary.TernaryTree
-
Returns a histogram of how many words end at each depth.
- getNumberOfCharacteristics() - Method in class org.passay.rule.CharacterCharacteristicsRule
-
Returns the number of characteristics which currently must be satisfied in order for a password to meet the requirements of this rule.
- getNumberOfCharacters() - Method in class org.passay.rule.CharacterRule
-
Returns the number of characters which must exist in order for a password to meet the requirements of this rule.
- getOrigin() - Method in class org.passay.PasswordData
-
Returns the origin.
- getParameters() - Method in class org.passay.RuleResultDetail
-
Returns the parameters.
- getPassword() - Method in class org.passay.PasswordData
-
Returns the password.
- getPassword() - Method in class org.passay.support.AbstractReference
- getPassword() - Method in interface org.passay.support.Reference
-
Returns the password associated with this reference.
- getPasswordReferences() - Method in class org.passay.PasswordData
-
Returns the password references.
- getPasswordReferences(Class<T>) - Method in class org.passay.PasswordData
-
Returns the password references that match the supplied reference type.
- getPattern() - Method in class org.passay.rule.AllowedRegexRule
-
Returns the pattern for this rule.
- getPattern() - Method in class org.passay.rule.IllegalRegexRule
-
Returns the pattern for this rule.
- getReportAllFailures() - Method in class org.passay.rule.AllowedCharacterRule
-
Returns whether to report all matches or just the first.
- getReportAllFailures() - Method in class org.passay.rule.HistoryRule
-
Returns whether to report all matches or just the first.
- getReportAllFailures() - Method in class org.passay.rule.IllegalCharacterRule
-
Returns whether to report all matches or just the first.
- getReportAllFailures() - Method in class org.passay.rule.IllegalRegexRule
-
Returns whether to report all matches or just the first.
- getReportAllFailures() - Method in class org.passay.rule.IllegalSequenceRule
-
Returns whether to report all matches or just the first.
- getReportAllFailures() - Method in class org.passay.rule.NumberRangeRule
-
Returns whether to report all matches or just the first.
- getReportAllFailures() - Method in class org.passay.rule.SourceRule
-
Returns whether to report all matches or just the first.
- getReportAllFailures() - Method in class org.passay.rule.WhitespaceRule
-
Returns whether to report all matches or just the first.
- getReportFailure() - Method in class org.passay.rule.CharacterCharacteristicsRule
-
Returns whether to add the rule result detail of this rule to the rule result.
- getReportFailure() - Method in class org.passay.rule.LengthComplexityRule
-
Returns whether to add the rule result detail of this rule to the rule result.
- getReportRuleFailures() - Method in class org.passay.rule.CharacterCharacteristicsRule
-
Returns whether to add the rule result detail for each character rule that fails to validate to the rule result.
- getReportRuleFailures() - Method in class org.passay.rule.LengthComplexityRule
-
Returns whether to add the rule result detail for each rule that fails to validate to the rule result.
- getRetryCount() - Method in class org.passay.generate.PasswordGenerator
-
Tracks the number retries.
- getRules() - Method in class org.passay.DefaultPasswordValidator
- getRules() - Method in interface org.passay.PasswordValidator
-
Returns the password rules for this validator.
- getRules() - Method in class org.passay.rule.CharacterCharacteristicsRule
-
Returns the character rules used by this rule.
- getRules() - Method in class org.passay.rule.LengthComplexityRule
-
Returns the password rules for this complexity rule.
- getRulesByLength(int) - Method in class org.passay.rule.LengthComplexityRule
-
Returns the rules that apply to the supplied password length.
- getSalt() - Method in class org.passay.support.AbstractReference
- getSalt() - Method in interface org.passay.support.Reference
-
Returns the salt that was applied to the reference password before digesting it.
- getSequenceCount() - Method in class org.passay.rule.RepeatCharactersRule
-
Returns the sequence count for this rule.
- getSequenceData() - Method in class org.passay.rule.IllegalSequenceRule
-
Returns the sequence data for this rule.
- getSequenceLength() - Method in class org.passay.rule.IllegalSequenceRule
-
Returns the sequence length for this rule.
- getSequenceLength() - Method in class org.passay.rule.RepeatCharactersRule
-
Returns the sequence length for this rule.
- getSequences() - Method in enum org.passay.data.CyrillicModernSequenceData
- getSequences() - Method in enum org.passay.data.CyrillicSequenceData
- getSequences() - Method in enum org.passay.data.CzechSequenceData
- getSequences() - Method in enum org.passay.data.EnglishSequenceData
- getSequences() - Method in enum org.passay.data.GermanSequenceData
- getSequences() - Method in enum org.passay.data.PolishSequenceData
- getSequences() - Method in interface org.passay.data.SequenceData
- getSplitChar() - Method in class org.passay.dictionary.TernaryNode
-
Returns the split character.
- getTernaryTree() - Method in class org.passay.dictionary.TernaryTreeDictionary
-
Returns the underlying ternary tree used by this dictionary.
- getUniqueCharacters(CharSequence) - Static method in class org.passay.entropy.RandomPasswordEntropyFactory
-
Returns the set of unique characters in the supplied string
- getUpperRange() - Method in class org.passay.rule.NumberRangeRule
-
Returns the upper range for this rule.
- getUsername() - Method in class org.passay.PasswordData
-
Returns the username.
- getValidCharacters() - Method in class org.passay.rule.CharacterRule
-
Returns the characters that are considered valid for this rule.
- getValues() - Method in class org.passay.RuleResultDetail
-
Returns the parameter values.
- getWhitespaceCharacters() - Method in class org.passay.rule.WhitespaceRule
-
Returns the whitespace characters for this rule.
- getWordList() - Method in class org.passay.dictionary.WordListDictionary
-
Returns the word list used for searching.
- getWords() - Method in class org.passay.dictionary.TernaryTree
-
Returns a list of all the words in this ternary tree.
H
- hasComposition(PasswordData) - Static method in class org.passay.entropy.ShannonEntropyFactory
-
Checks whether the supplied passwordData has composition.
- hasCompositionCheck - Variable in class org.passay.entropy.ShannonEntropy
-
Whether at least 1 uppercase and special/symbol character is enforced.
- hasCount(RuleResultMetadata.CountCategory) - Method in class org.passay.RuleResultMetadata
-
Returns whether a count exists for the supplied category.
- hasDictionaryCheck - Variable in class org.passay.entropy.ShannonEntropy
-
Whether a dictionary was used to check the password.
- hashBean - Variable in class org.passay.rule.DigestDictionaryRule
-
Hash bean to use for comparing hashed passwords.
- hashBean - Variable in class org.passay.rule.DigestHistoryRule
-
Hash bean to use for comparing hashed passwords.
- hashBean - Variable in class org.passay.rule.DigestSourceRule
-
Hash bean to use for comparing hashed passwords.
- hashCode() - Method in class org.passay.UnicodeString
- hasNext() - Method in class org.passay.dictionary.AbstractWordList.WordListIterator
- hasRemaining() - Method in class org.passay.dictionary.AbstractFileWordList
-
Determines whether the backing buffer has any more data to read.
- HaveIBeenPwnedRule - Class in org.passay.rule
-
Validates the password against the online database of
haveibeenpwned.comoptionally allowing the usage of found passwords, but returns the number of found matches in the metadata. - HaveIBeenPwnedRule(String) - Constructor for class org.passay.rule.HaveIBeenPwnedRule
-
Create the rule, appName is required by the API.
- HaveIBeenPwnedRule(String, String) - Constructor for class org.passay.rule.HaveIBeenPwnedRule
-
Create the rule, appName is required by the API.
- HaveIBeenPwnedRule(String, String, boolean, boolean) - Constructor for class org.passay.rule.HaveIBeenPwnedRule
-
Create the rule, appName is required by the API.
- hikid - Variable in class org.passay.dictionary.TernaryNode
-
high child of this node.
- HistoricalReference - Class in org.passay.support
-
Reference to an historical password.
- HistoricalReference(CharSequence) - Constructor for class org.passay.support.HistoricalReference
-
Creates a new historical reference.
- HistoricalReference(String, CharSequence) - Constructor for class org.passay.support.HistoricalReference
-
Creates a new historical reference.
- HistoricalReference(String, CharSequence, Salt) - Constructor for class org.passay.support.HistoricalReference
-
Creates a new historical reference.
- HistoricalReference(String, UnicodeString) - Constructor for class org.passay.support.HistoricalReference
-
Creates a new historical reference.
- HistoricalReference(String, UnicodeString, Salt) - Constructor for class org.passay.support.HistoricalReference
-
Creates a new historical reference.
- HistoricalReference(UnicodeString) - Constructor for class org.passay.support.HistoricalReference
-
Creates a new historical reference.
- HistoryRule - Class in org.passay.rule
-
Rule for determining if a password matches one of any previous password a user has chosen.
- HistoryRule() - Constructor for class org.passay.rule.HistoryRule
-
Creates a new history rule.
- HistoryRule(boolean) - Constructor for class org.passay.rule.HistoryRule
-
Creates a new history rule.
I
- ignoreCase - Variable in class org.passay.rule.UsernameRule
-
Whether to ignore case when checking for usernames.
- Illegal - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
illegal characters.
- IllegalCharacterRule - Class in org.passay.rule
-
Rule for determining if a password contains an illegal character.
- IllegalCharacterRule(UnicodeString) - Constructor for class org.passay.rule.IllegalCharacterRule
-
Create a new illegal character rule.
- IllegalCharacterRule(UnicodeString, boolean) - Constructor for class org.passay.rule.IllegalCharacterRule
-
Create a new illegal character rule.
- IllegalCharacterRule(UnicodeString, MatchBehavior) - Constructor for class org.passay.rule.IllegalCharacterRule
-
Create a new illegal character rule.
- IllegalCharacterRule(UnicodeString, MatchBehavior, boolean) - Constructor for class org.passay.rule.IllegalCharacterRule
-
Create a new illegal character rule.
- illegalCharacters - Variable in class org.passay.rule.IllegalCharacterRule
-
Stores the character code points that are not allowed.
- IllegalRegexRule - Class in org.passay.rule
-
Rule for determining if a password matches an illegal regular expression.
- IllegalRegexRule(String) - Constructor for class org.passay.rule.IllegalRegexRule
-
Creates a new illegal regex rule.
- IllegalRegexRule(String, boolean) - Constructor for class org.passay.rule.IllegalRegexRule
-
Creates a new illegal regex rule.
- IllegalRegexRule(String, int) - Constructor for class org.passay.rule.IllegalRegexRule
-
Creates a new illegal regex rule.
- IllegalRegexRule(String, int, boolean) - Constructor for class org.passay.rule.IllegalRegexRule
-
Creates a new illegal regex rule.
- IllegalSequenceRule - Class in org.passay.rule
-
Password validation rule that prevents illegal sequences of characters, e.g. keyboard, alphabetical, numeric.
- IllegalSequenceRule(SequenceData) - Constructor for class org.passay.rule.IllegalSequenceRule
-
Creates a new sequence rule with the supplied list of characters.
- IllegalSequenceRule(SequenceData, int) - Constructor for class org.passay.rule.IllegalSequenceRule
-
Creates a new sequence rule with the supplied list of characters.
- IllegalSequenceRule(SequenceData, int, boolean) - Constructor for class org.passay.rule.IllegalSequenceRule
-
Creates a new sequence rule with the supplied list of characters.
- IllegalSequenceRule(SequenceData, int, boolean, boolean) - Constructor for class org.passay.rule.IllegalSequenceRule
-
Creates a new sequence rule with the supplied list of characters.
- includes(int) - Method in class org.passay.rule.LengthComplexityRule.Interval
-
Returns whether this interval includes the supplied integer.
- index - Variable in class org.passay.dictionary.AbstractFileWordList.Cache.Entry
-
Cached word index.
- index - Variable in class org.passay.dictionary.AbstractWordList.WordListIterator
-
Index of next word in the iterator sequence.
- indexOf(int) - Method in class org.passay.UnicodeString
-
Returns the array index of the supplied code point in this code points array.
- indexOf(CharacterSequence, int) - Method in class org.passay.rule.IllegalSequenceRule
-
Returns the index of the given character within the given sequence, or -1 if it is not found.
- indexOf(UnicodeString) - Method in class org.passay.UnicodeString
-
Returns code point index in this unicode string of the supplied string.
- initialize(int, boolean) - Method in class org.passay.dictionary.AbstractFileWordList
-
Reads words from the backing file to initialize the word list.
- initialized - Variable in class org.passay.dictionary.AbstractFileWordList.Cache
-
Whether this cache is ready for use.
- insert(CharSequence) - Method in class org.passay.dictionary.TernaryTree
-
Inserts the supplied word into this tree.
- insert(CharSequence[]) - Method in class org.passay.dictionary.TernaryTree
-
Inserts the supplied array of words into this tree.
- InsertionSort - Class in org.passay.dictionary.sort
-
Provides an implementation of the insertion sort algorithm.
- InsertionSort() - Constructor for class org.passay.dictionary.sort.InsertionSort
- insertNode(TernaryNode, CharSequence, int) - Method in class org.passay.dictionary.TernaryTree
-
Recursively inserts a word into the ternary tree one node at a time beginning at the supplied node.
- intersection(UnicodeString) - Method in class org.passay.UnicodeString
-
Returns the intersection of this string and the other string.
- intersects(LengthComplexityRule.Interval) - Method in class org.passay.rule.LengthComplexityRule.Interval
-
Returns whether this interval intersects the supplied interval.
- Interval(String) - Constructor for class org.passay.rule.LengthComplexityRule.Interval
-
Creates a new interval.
- INTERVAL_PATTERN - Static variable in class org.passay.rule.LengthComplexityRule.Interval
-
Pattern for matching intervals.
- IO_ERROR_CODE - Static variable in class org.passay.rule.HaveIBeenPwnedRule
-
Error code for API IO errors.
- isEmpty() - Method in class org.passay.UnicodeString
-
Returns whether this unicode string has any code points.
- isEndOfWord() - Method in class org.passay.dictionary.TernaryNode
-
Returns whether this node is at the end of a word.
- isIgnoreCase() - Method in class org.passay.rule.UsernameRule
-
Returns whether to ignore the case of the username.
- isMatchBackwards() - Method in class org.passay.rule.AbstractDictionaryRule
-
Returns true if the verify method will search the password for dictionary words spelled backwards as well as forwards.
- isMatchBackwards() - Method in class org.passay.rule.UsernameRule
-
Returns whether to match the username backwards.
- isValid() - Method in class org.passay.AbstractRuleResult
- isValid() - Method in class org.passay.AbstractValidationResult
- isValid() - Method in interface org.passay.RuleResult
-
Returns whether the result of the rule verification is a valid password.
- isValid() - Method in interface org.passay.ValidationResult
-
Returns whether the result of the rule verification is a valid password.
- iterator() - Method in class org.passay.dictionary.AbstractWordList
- iterator() - Method in interface org.passay.dictionary.WordList
-
Returns an iterator to traverse this word list from the 0th index.
J
- JDBCDictionary - Class in org.passay.dictionary
-
Provides a
Dictionarybacked by a database table. - JDBCDictionary(DataSource, String, String) - Constructor for class org.passay.dictionary.JDBCDictionary
-
Creates a new JDBC dictionary.
L
- label - Variable in class org.passay.support.AbstractReference
-
Label to identify this password.
- length - Variable in class org.passay.generate.PasswordGenerator
-
Length of passwords to generate.
- length() - Method in class org.passay.data.CharacterSequence
- length() - Method in class org.passay.UnicodeString
- Length - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
password length.
- LengthComplexityRule - Class in org.passay.rule
-
Rule for determining if a password contains the desired complexity for a certain length.
- LengthComplexityRule(boolean, boolean, Collection<LengthComplexityRule.Entry>) - Constructor for class org.passay.rule.LengthComplexityRule
-
Creates a new length complexity rule.
- LengthComplexityRule(boolean, boolean, LengthComplexityRule.Entry...) - Constructor for class org.passay.rule.LengthComplexityRule
-
Creates a new length complexity rule.
- LengthComplexityRule(Collection<LengthComplexityRule.Entry>) - Constructor for class org.passay.rule.LengthComplexityRule
-
Creates a new length complexity rule.
- LengthComplexityRule(LengthComplexityRule.Entry...) - Constructor for class org.passay.rule.LengthComplexityRule
-
Creates a new length complexity rule.
- LengthComplexityRule.Entry - Class in org.passay.rule
-
Class to contain a tuple of interval string to rules.
- LengthComplexityRule.Interval - Class in org.passay.rule
-
Class that represents an interval of numbers and parses interval notation.
- LengthRule - Class in org.passay.rule
-
Rule for determining if a password is within a desired length.
- LengthRule() - Constructor for class org.passay.rule.LengthRule
-
Creates a new length rule with lengths unset.
- LengthRule(int) - Constructor for class org.passay.rule.LengthRule
-
Creates a new length rule with the supplied length.
- LengthRule(int, int) - Constructor for class org.passay.rule.LengthRule
-
Create a new length rule.
- LINE_SEPARATOR - Static variable in class org.passay.dictionary.TernaryTree
-
File system line separator.
- locale - Variable in class org.passay.resolver.AbstractMessageResolver
-
Locale used to format error messages.
- lock - Variable in class org.passay.dictionary.AbstractFileWordList
-
Used to synchronize access to the underlying cache.
- log2(double) - Static method in class org.passay.entropy.RandomPasswordEntropy
-
Returns the log base 2 of a given number.
- lokid - Variable in class org.passay.dictionary.TernaryNode
-
low child of this node.
- lower - Variable in class org.passay.rule.LengthComplexityRule.Interval
-
Lower bound of the interval (inclusive).
- LowerCase - Enum constant in enum org.passay.data.CyrillicCharacterData
-
Lower case characters.
- LowerCase - Enum constant in enum org.passay.data.CyrillicModernCharacterData
-
Lower case characters.
- LowerCase - Enum constant in enum org.passay.data.CzechCharacterData
-
Lower case characters.
- LowerCase - Enum constant in enum org.passay.data.EnglishCharacterData
-
Lower case characters.
- LowerCase - Enum constant in enum org.passay.data.GermanCharacterData
-
Lower case characters.
- LowerCase - Enum constant in enum org.passay.data.PolishCharacterData
-
Lower case characters.
- LowerCase - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
lowercase characters.
- lowerRange - Variable in class org.passay.rule.NumberRangeRule
-
Lower end of the range.
M
- main(String[]) - Static method in class org.passay.dictionary.TernaryTreeDictionary
-
Provides command line access to a ternary tree dictionary.
- main(String[]) - Static method in class org.passay.dictionary.WordListDictionary
-
Provides command line access to this word list dictionary.
- map - Variable in class org.passay.dictionary.AbstractFileWordList.Cache
-
Map of word indices to the byte offset in the file where the word starts.
- match(UnicodeString, int) - Method in enum org.passay.rule.MatchBehavior
-
Returns whether text matches the supplied string for this match type.
- match(UnicodeString, CharSequence) - Method in enum org.passay.rule.MatchBehavior
-
Returns whether text matches the supplied string for this match type.
- match(UnicodeString, UnicodeString) - Method in enum org.passay.rule.MatchBehavior
-
Returns whether text matches the supplied string for this match type.
- matchBackwards - Variable in class org.passay.rule.AbstractDictionaryRule
-
Whether to search for dictionary words backwards.
- matchBackwards - Variable in class org.passay.rule.UsernameRule
-
Whether to search for username backwards.
- matchBehavior - Variable in class org.passay.rule.AllowedCharacterRule
-
Where to match whitespace.
- matchBehavior - Variable in class org.passay.rule.IllegalCharacterRule
-
Where to match whitespace.
- matchBehavior - Variable in class org.passay.rule.NumberRangeRule
-
Where to match each number.
- matchBehavior - Variable in class org.passay.rule.UsernameRule
-
Where to match username.
- matchBehavior - Variable in class org.passay.rule.WhitespaceRule
-
Where to match whitespace.
- MatchBehavior - Enum in org.passay.rule
-
Enum that defines how string matching should occur.
- MatchBehavior(String, BiFunction<UnicodeString, UnicodeString, Boolean>) - Constructor for enum org.passay.rule.MatchBehavior
-
Constructs a MatchBehavior constant.
- matcher - Variable in enum org.passay.rule.MatchBehavior
-
The matcher function.
- matches(int, int) - Method in class org.passay.data.CharacterSequence
-
Determines whether the character at the given index of the sequence matches the given value.
- matches(UnicodeString, Reference) - Method in class org.passay.rule.DigestHistoryRule
-
Determines whether a digested password matches a reference value.
- matches(UnicodeString, Reference) - Method in class org.passay.rule.DigestSourceRule
-
Determines whether a digested password matches a reference value.
- matches(UnicodeString, Reference) - Method in class org.passay.rule.HistoryRule
-
Determines whether a password matches an historical password.
- matches(UnicodeString, Reference) - Method in class org.passay.rule.SourceRule
-
Determines whether a password matches a source password.
- MAX_PASSWORD_LENGTH - Static variable in class org.passay.generate.PasswordGenerator
-
Maximum supported length of password generation.
- maximumLength - Variable in class org.passay.rule.LengthRule
-
Stores the maximum length of a password.
- maxOccurrences - Variable in class org.passay.rule.CharacterOccurrencesRule
-
Maximum umber of occurrences to allow.
- medianIterator() - Method in class org.passay.dictionary.AbstractWordList
- medianIterator() - Method in interface org.passay.dictionary.WordList
-
Returns an iterator to traverse this word list by following a recursive sequence of medians.
- medians - Variable in class org.passay.dictionary.AbstractWordList.WordListIterator
-
Specifies whether to use medians or sequential order.
- MemoryMappedFileWordList - Class in org.passay.dictionary
-
Provides an implementation of a
WordListthat is backed by a file and leverages aMappedByteBuffer. - MemoryMappedFileWordList(RandomAccessFile) - Constructor for class org.passay.dictionary.MemoryMappedFileWordList
-
Creates a new case-sensitive word list from the supplied file.
- MemoryMappedFileWordList(RandomAccessFile, boolean) - Constructor for class org.passay.dictionary.MemoryMappedFileWordList
-
Creates a new word list from the supplied file.
- MemoryMappedFileWordList(RandomAccessFile, boolean, int) - Constructor for class org.passay.dictionary.MemoryMappedFileWordList
-
Creates a new word list from the supplied file.
- MemoryMappedFileWordList(RandomAccessFile, boolean, int, CharsetDecoder) - Constructor for class org.passay.dictionary.MemoryMappedFileWordList
-
Creates a new word list from the supplied file.
- MemoryMappedFileWordList(RandomAccessFile, boolean, int, CharsetDecoder, boolean) - Constructor for class org.passay.dictionary.MemoryMappedFileWordList
-
Creates a new word list from the supplied file.
- messageProperties - Variable in class org.passay.resolver.PropertiesMessageResolver
-
Maps message keys to message strings.
- messageResolver - Variable in class org.passay.DefaultPasswordValidator
-
Message resolver.
- MessageResolver - Interface in org.passay.resolver
-
Strategy pattern interface for resolving messages from password validation failures described by a
RuleResultDetailobject. - messages - Variable in class org.passay.FailureValidationResult
-
Messages produced by a message resolver.
- messageSourceAccessor - Variable in class org.passay.resolver.SpringMessageResolver
-
An accessor for Spring's
MessageSource - metadata - Variable in class org.passay.AbstractRuleResult
-
Metadata produced by a password rule.
- metadata - Variable in class org.passay.AbstractValidationResult
-
Metadata produced by a password rule.
- MINIMUM_SEQUENCE_LENGTH - Static variable in class org.passay.rule.IllegalSequenceRule
-
Minimum length of keyboard sequence, value is 3.
- minimumLength - Variable in class org.passay.rule.LengthRule
-
Stores the minimum length of a password.
- modulus - Variable in class org.passay.dictionary.AbstractFileWordList.Cache
-
Modulus of indices to cache.
N
- nearSearch(CharSequence, int) - Method in class org.passay.dictionary.TernaryTree
-
Return an array of strings which are near to the supplied word by the supplied distance.
- nearSearch(CharSequence, int) - Method in class org.passay.dictionary.TernaryTreeDictionary
-
Returns an array of strings which are near to the supplied word by the supplied distance.
- nearSearchNode(TernaryNode, int, List<CharSequence>, CharSequence, CharSequence, int) - Method in class org.passay.dictionary.TernaryTree
-
Recursively searches for a near match word in the ternary tree one node at a time beginning at the supplied node.
- next() - Method in class org.passay.dictionary.AbstractWordList.WordListIterator
- NO_ENTROPY_PROVIDER - Static variable in class org.passay.DefaultPasswordValidator
-
Entropy provider that returns -1.
- NOT_FOUND - Static variable in class org.passay.dictionary.WordLists
-
Index returned when word not found by binary search.
- NULL_MESSAGE_RESOLVER - Static variable in class org.passay.DefaultPasswordValidator
-
Message resolver that returns null for any rule result detail.
- numberOfCharacteristics - Variable in class org.passay.generate.CharacterCharacteristicsAppender
-
Number of characteristics.
- numberOfCharacters - Variable in class org.passay.generate.CharacterRuleAppender
-
Number of characters.
- NumberRangeRule - Class in org.passay.rule
-
Rule for determining if a password contains any number within a defined range, lower inclusive, upper exclusive.
- NumberRangeRule(int, int) - Constructor for class org.passay.rule.NumberRangeRule
-
Creates a new number range rule.
- NumberRangeRule(int, int, boolean) - Constructor for class org.passay.rule.NumberRangeRule
-
Creates a new number range rule.
- NumberRangeRule(int, int, MatchBehavior) - Constructor for class org.passay.rule.NumberRangeRule
-
Creates a new number range rule.
- NumberRangeRule(int, int, MatchBehavior, boolean) - Constructor for class org.passay.rule.NumberRangeRule
-
Creates a new number range rule.
- numCharacteristics - Variable in class org.passay.rule.CharacterCharacteristicsRule
-
Number of rules to enforce.
- numCharacters - Variable in class org.passay.rule.CharacterRule
-
Number of characters to require.
- Numerical - Enum constant in enum org.passay.data.EnglishSequenceData
-
Numerical sequence.
O
- offset - Variable in class org.passay.dictionary.AbstractFileWordList.FileWord
-
Byte offset into file where word begins.
- openApiConnectionForRange(String) - Method in class org.passay.rule.HaveIBeenPwnedRule
-
Opens a connection to the API and returns a reader for the input stream.
- org.passay - package org.passay
- org.passay.data - package org.passay.data
- org.passay.dictionary - package org.passay.dictionary
- org.passay.dictionary.sort - package org.passay.dictionary.sort
- org.passay.entropy - package org.passay.entropy
- org.passay.generate - package org.passay.generate
- org.passay.resolver - package org.passay.resolver
- org.passay.rule - package org.passay.rule
- org.passay.support - package org.passay.support
- origin - Variable in class org.passay.PasswordData
-
Origin of this password.
- Origin - Enum in org.passay.support
-
Enum to define the origin of a password.
- Origin() - Constructor for enum org.passay.support.Origin
P
- parameters - Variable in class org.passay.RuleResultDetail
-
Additional parameters that provide information about validation failure.
- partialSearch(CharSequence) - Method in class org.passay.dictionary.TernaryTree
-
Returns an array of strings which partially match the supplied word. word should be of the format '.e.e.e' Where the '.' character represents any valid character.
- partialSearch(CharSequence) - Method in class org.passay.dictionary.TernaryTreeDictionary
-
Returns an array of strings which partially match the supplied word.
- partialSearchNode(TernaryNode, List<CharSequence>, CharSequence, CharSequence, int) - Method in class org.passay.dictionary.TernaryTree
-
Recursively searches for a partial word in the ternary tree one node at a time beginning at the supplied node.
- PassayUtils - Class in org.passay
-
Provides utility methods for this package.
- PassayUtils() - Constructor for class org.passay.PassayUtils
-
Default constructor.
- password - Variable in class org.passay.PasswordData
-
Stores the password.
- password - Variable in class org.passay.support.AbstractReference
-
Reference password.
- PasswordData - Class in org.passay
-
Contains password related information used by rules to perform password validation.
- PasswordData(CharSequence) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(CharSequence, CharSequence) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(CharSequence, CharSequence, List<Reference>) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(CharSequence, CharSequence, Origin) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(CharSequence, CharSequence, Origin, List<Reference>) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(CharSequence, CharSequence, Origin, Reference...) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(CharSequence, CharSequence, Reference...) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(CharSequence, Origin) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString, Origin) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString, UnicodeString) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString, UnicodeString, List<Reference>) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString, UnicodeString, Origin) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString, UnicodeString, Origin, List<Reference>) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString, UnicodeString, Origin, Reference...) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordData(UnicodeString, UnicodeString, Reference...) - Constructor for class org.passay.PasswordData
-
Creates a new password data.
- PasswordGenerator - Class in org.passay.generate
-
Creates passwords that meet password character rule criteria.
- PasswordGenerator(int, int, List<? extends Rule>) - Constructor for class org.passay.generate.PasswordGenerator
-
Creates a new password generator.
- PasswordGenerator(int, int, Rule...) - Constructor for class org.passay.generate.PasswordGenerator
-
Creates a new password generator.
- PasswordGenerator(int, List<? extends Rule>) - Constructor for class org.passay.generate.PasswordGenerator
-
Creates a new password generator.
- PasswordGenerator(int, Rule...) - Constructor for class org.passay.generate.PasswordGenerator
-
Creates a new password generator.
- PasswordGenerator(Random, int, int, List<? extends Rule>) - Constructor for class org.passay.generate.PasswordGenerator
-
Creates a new password generator.
- PasswordGenerator(Random, int, int, Rule...) - Constructor for class org.passay.generate.PasswordGenerator
-
Creates a new password generator.
- passwordReferences - Variable in class org.passay.PasswordData
-
Password references.
- passwordRules - Variable in class org.passay.DefaultPasswordValidator
-
Password rules.
- passwordRules - Variable in class org.passay.generate.PasswordGenerator
-
Rules to determine password character appenders.
- passwordRules - Variable in class org.passay.rule.CompositeRule
-
Password rules.
- passwordSize - Variable in class org.passay.entropy.RandomPasswordEntropy
-
Size of the password.
- passwordSize - Variable in class org.passay.entropy.ShannonEntropy
-
Size of the password.
- PasswordValidator - Interface in org.passay
-
Interface for password validators.
- pattern - Variable in class org.passay.rule.AllowedRegexRule
-
Regex pattern.
- pattern - Variable in class org.passay.rule.IllegalRegexRule
-
Regex pattern.
- PolishCharacterData - Enum in org.passay.data
-
Polish language character data.
- PolishCharacterData(String, String) - Constructor for enum org.passay.data.PolishCharacterData
-
Creates a new polish character data.
- PolishSequenceData - Enum in org.passay.data
-
Polish character sequences.
- PolishSequenceData(String, CharacterSequence[]) - Constructor for enum org.passay.data.PolishSequenceData
-
Creates a new polish sequence data.
- position - Variable in class org.passay.dictionary.AbstractFileWordList.Cache.Entry
-
Byte offset where word starts in backing file.
- position - Variable in class org.passay.dictionary.AbstractFileWordList
-
Current position into backing file.
- PREFIX_LENGTH - Static variable in class org.passay.rule.HaveIBeenPwnedRule
-
number of chars to use from the SHA1 digest for the api call.
- PrefixSalt - Class in org.passay.support
-
A salt that is concatenated as a prefix to the password data.
- PrefixSalt(String) - Constructor for class org.passay.support.PrefixSalt
-
Creates a new salt with the given salt data.
- print(Writer) - Method in class org.passay.dictionary.TernaryTree
-
Prints an ASCII representation of this ternary tree to the supplied writer.
- print(Writer, boolean) - Method in class org.passay.dictionary.TernaryTree
-
Prints an ASCII representation of this ternary tree to the supplied writer.
- printNode(TernaryNode, String, int, boolean, StringBuilder) - Method in class org.passay.dictionary.TernaryTree
-
Recursively traverses every node in the ternary tree rooted at the supplied node.
- PropertiesMessageResolver - Class in org.passay.resolver
-
Resolves messages from rule result details from a properties file.
- PropertiesMessageResolver() - Constructor for class org.passay.resolver.PropertiesMessageResolver
-
Creates a new message resolver with the default message properties.
- PropertiesMessageResolver(Properties) - Constructor for class org.passay.resolver.PropertiesMessageResolver
-
Creates a new message resolver with the supplied message properties.
- PropertiesMessageResolver(Properties, Locale) - Constructor for class org.passay.resolver.PropertiesMessageResolver
-
Creates a new message resolver with the supplied message properties.
- put(int, long) - Method in class org.passay.dictionary.AbstractFileWordList.Cache
-
Puts an entry that maps the word at given index to the byte offset in into the backing file.
- Pwned - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
Already leaked password.
Q
- QuickSort - Class in org.passay.dictionary.sort
-
Provides an implementation of the quick sort algorithm.
- QuickSort() - Constructor for class org.passay.dictionary.sort.QuickSort
R
- random - Variable in class org.passay.generate.CharacterCharacteristicsAppender
-
To select random characters.
- random - Variable in class org.passay.generate.CharacterRuleAppender
-
To select random characters.
- random - Variable in class org.passay.generate.FillRemainingCharactersAppender
-
To select random characters.
- random - Variable in class org.passay.generate.PasswordGenerator
-
Source of random data.
- randomize(CharBuffer) - Method in class org.passay.generate.PasswordGenerator
-
Randomizes the contents of the given buffer.
- RandomPasswordEntropy - Class in org.passay.entropy
-
Entropy bits estimate defined in NIST SP-800-63-1 Randomly Selected Passwords.
- RandomPasswordEntropy(int, int) - Constructor for class org.passay.entropy.RandomPasswordEntropy
-
Creates a new random entropy estimate.
- RandomPasswordEntropyFactory - Class in org.passay.entropy
-
Factory for creating
RandomPasswordEntropyfrom password rules and password data. - RandomPasswordEntropyFactory() - Constructor for class org.passay.entropy.RandomPasswordEntropyFactory
-
Private constructor for factory class.
- READ_BUFSIZE - Static variable in class org.passay.dictionary.FileWordList
-
Size of read buffer.
- readNextWord() - Method in class org.passay.dictionary.AbstractFileWordList
-
Reads the next word from the current position in the backing file.
- readTimeout - Variable in class org.passay.rule.HaveIBeenPwnedRule
-
Maximum waiting time for reading all data.
- readWord(int) - Method in class org.passay.dictionary.AbstractFileWordList
-
Reads the word from the file at the given index of the word list.
- readWordList(Reader, List<String>) - Static method in class org.passay.dictionary.WordLists
-
Reads words, one per line, from a reader into the given word list.
- readWords(InputStream, String, List<String>) - Static method in class org.passay.dictionary.WordLists
-
Reads words, one per line, from an input stream into the given word list.
- readWords(Reader, List<String>) - Static method in class org.passay.dictionary.WordLists
-
Reads words, one per line, from a reader into the given word list.
- readZippedWords(InputStream, String, String, List<String>) - Static method in class org.passay.dictionary.WordLists
-
Reads words, one per line, from an input stream into the given word list.
- Reference - Interface in org.passay.support
-
Reference to another password that should be considered as part of password validation.
- remove() - Method in class org.passay.dictionary.AbstractWordList.WordListIterator
- RepeatCharactersRule - Class in org.passay.rule
-
Rule for determining if a password contains multiple sequences of repeating characters.
- RepeatCharactersRule() - Constructor for class org.passay.rule.RepeatCharactersRule
-
Creates a new repeat characters rule for a single sequence of the default sequence length.
- RepeatCharactersRule(int) - Constructor for class org.passay.rule.RepeatCharactersRule
-
Creates a new repeat characters rule for a single sequence of the given length.
- RepeatCharactersRule(int, int) - Constructor for class org.passay.rule.RepeatCharactersRule
-
Creates a new repeat characters rule for the given number of sequences of the given length.
- reportAllFailures - Variable in class org.passay.rule.AllowedCharacterRule
-
Whether to report all sequence matches or just the first.
- reportAllFailures - Variable in class org.passay.rule.HistoryRule
-
Whether to report all history matches or just the first.
- reportAllFailures - Variable in class org.passay.rule.IllegalCharacterRule
-
Whether to report all sequence matches or just the first.
- reportAllFailures - Variable in class org.passay.rule.IllegalRegexRule
-
Whether to report all regex matches or just the first.
- reportAllFailures - Variable in class org.passay.rule.IllegalSequenceRule
-
Whether to report all sequence matches or just the first.
- reportAllFailures - Variable in class org.passay.rule.NumberRangeRule
-
Whether to report all sequence matches or just the first.
- reportAllFailures - Variable in class org.passay.rule.SourceRule
-
Whether to report all source matches or just the first.
- reportAllFailures - Variable in class org.passay.rule.WhitespaceRule
-
Whether to report all whitespace matches or just the first.
- reportFailure - Variable in class org.passay.rule.CharacterCharacteristicsRule
-
Whether to report the details of this rule failure.
- reportFailure - Variable in class org.passay.rule.LengthComplexityRule
-
Whether to report the details of this rule failure.
- reportRuleFailures - Variable in class org.passay.rule.CharacterCharacteristicsRule
-
Whether to report the details of each character rule failure.
- reportRuleFailures - Variable in class org.passay.rule.LengthComplexityRule
-
Whether to report the details of each complexity rule failure.
- resize(long) - Method in class org.passay.dictionary.AbstractFileWordList.Cache
-
Creates a new byte buffer of the supplied size for use as the cache.
- resolve(RuleResultDetail) - Method in class org.passay.resolver.AbstractMessageResolver
- resolve(RuleResultDetail) - Method in interface org.passay.resolver.MessageResolver
-
Resolves the message for the supplied rule result detail.
- resolve(RuleResultDetail) - Method in class org.passay.resolver.SpringMessageResolver
-
Resolves the message for the supplied rule result detail using Spring's
MessageSource. - resourceBundle - Variable in class org.passay.resolver.ResourceBundleMessageResolver
-
Maps locale specific message keys to message strings.
- ResourceBundleMessageResolver - Class in org.passay.resolver
-
Resolves messages from rule result details from a resource bundle.
- ResourceBundleMessageResolver() - Constructor for class org.passay.resolver.ResourceBundleMessageResolver
-
Creates a new message resolver with the default message map.
- ResourceBundleMessageResolver(ResourceBundle) - Constructor for class org.passay.resolver.ResourceBundleMessageResolver
-
Creates a new message resolver with the supplied resource bundle.
- ResourceBundleMessageResolver(ResourceBundle, Locale) - Constructor for class org.passay.resolver.ResourceBundleMessageResolver
-
Creates a new message resolver with the supplied resource bundle.
- retryCount - Variable in class org.passay.generate.PasswordGenerator
-
Tracks the total number of retries.
- retryLimit - Variable in class org.passay.generate.PasswordGenerator
-
Number of times to retry password generation before giving up.
- reverse() - Method in class org.passay.UnicodeString
-
Returns a new unicode string with the code points reversed.
- reverse(boolean) - Method in class org.passay.UnicodeString
-
Returns a new unicode string with the code points reversed.
- root - Variable in class org.passay.dictionary.TernaryTree
-
root node of the ternary tree.
- Rule - Interface in org.passay.rule
-
Interface for password strength rules.
- RuleResult - Interface in org.passay
-
Result of a password rule.
- RuleResultDetail - Class in org.passay
-
Describes an exact cause of a rule validation failure.
- RuleResultDetail(String[], Map<String, Object>) - Constructor for class org.passay.RuleResultDetail
-
Creates a new rule result detail.
- RuleResultDetail(String, Map<String, Object>) - Constructor for class org.passay.RuleResultDetail
-
Creates a new rule result detail.
- RuleResultMetadata - Class in org.passay
-
Describes metadata relevant to the result of rule validation.
- RuleResultMetadata() - Constructor for class org.passay.RuleResultMetadata
-
Creates a new rule result metadata.
- RuleResultMetadata(List<RuleResultMetadata>) - Constructor for class org.passay.RuleResultMetadata
-
Creates a new rule result metadata.
- RuleResultMetadata(RuleResultMetadata) - Constructor for class org.passay.RuleResultMetadata
-
Creates a new rule result metadata.
- RuleResultMetadata(RuleResultMetadata.CountCategory, int) - Constructor for class org.passay.RuleResultMetadata
-
Creates a new rule result metadata.
- RuleResultMetadata.CountCategory - Enum in org.passay
-
Count category.
- rules - Variable in class org.passay.rule.CharacterCharacteristicsRule
-
Rules to apply when checking a password.
- rules - Variable in class org.passay.rule.LengthComplexityRule
-
Rules to apply when checking a password.
S
- salt - Variable in class org.passay.support.AbstractReference
-
Salt that was applied to reference password before digesting it.
- salt - Variable in class org.passay.support.PrefixSalt
-
The salt data.
- salt - Variable in class org.passay.support.SuffixSalt
-
The salt data.
- Salt - Interface in org.passay.support
-
Combines salt (additional external data) with a password before applying a digest algorithm to them.
- search(CharSequence) - Method in class org.passay.dictionary.BloomFilterDictionary
-
WARNING bloom filters may return true for a word that is NOT in the dictionary.
- search(CharSequence) - Method in interface org.passay.dictionary.Dictionary
-
Returns whether the supplied word exists in the dictionary.
- search(CharSequence) - Method in class org.passay.dictionary.JDBCDictionary
- search(CharSequence) - Method in class org.passay.dictionary.TernaryTree
-
Returns whether the supplied word has been inserted into this ternary tree.
- search(CharSequence) - Method in class org.passay.dictionary.TernaryTreeDictionary
- search(CharSequence) - Method in class org.passay.dictionary.WordListDictionary
- searchNode(TernaryNode, int[], int) - Method in class org.passay.dictionary.TernaryTree
-
Recursively searches for a word in the ternary tree one node at a time beginning at the supplied node.
- searchResponse(String, LineNumberReader) - Method in class org.passay.rule.HaveIBeenPwnedRule
-
Reads the supplied reader line by line until a match is found against the supplied hex digest.
- searchStatement - Variable in class org.passay.dictionary.JDBCDictionary
-
SQL search statement.
- SECOND_PHASE_BONUS - Static variable in class org.passay.entropy.ShannonEntropy
-
Entropy bonus of the second phase.
- SECOND_PHASE_LENGTH - Static variable in class org.passay.entropy.ShannonEntropy
-
Length of the second phase.
- seek(long) - Method in class org.passay.dictionary.AbstractFileWordList
-
Positions the read head of the backing file at the given byte offset.
- seek(long) - Method in class org.passay.dictionary.FileWordList
- seek(long) - Method in class org.passay.dictionary.MemoryMappedFileWordList
- SelectionSort - Class in org.passay.dictionary.sort
-
Provides an implementation of the selection sort algorithm.
- SelectionSort() - Constructor for class org.passay.dictionary.sort.SelectionSort
- sequenceCount - Variable in class org.passay.rule.RepeatCharactersRule
-
Number of sequences of repeating characters to match.
- sequenceData - Variable in class org.passay.rule.IllegalSequenceRule
-
Sequence data for this rule.
- SequenceData - Interface in org.passay.data
-
Container for one or more
CharacterSequence. - sequenceLength - Variable in class org.passay.rule.IllegalSequenceRule
-
Number of characters in sequence to match.
- sequenceLength - Variable in class org.passay.rule.RepeatCharactersRule
-
Number of repeating characters to match in each sequence.
- sequences - Variable in enum org.passay.data.CyrillicModernSequenceData
-
Character sequences.
- sequences - Variable in enum org.passay.data.CyrillicSequenceData
-
Character sequences.
- sequences - Variable in enum org.passay.data.CzechSequenceData
-
Character sequences.
- sequences - Variable in enum org.passay.data.EnglishSequenceData
-
Character sequences.
- sequences - Variable in enum org.passay.data.GermanSequenceData
-
Character sequences.
- sequences - Variable in enum org.passay.data.PolishSequenceData
-
Character sequences.
- setConnectTimeout(Duration) - Method in class org.passay.rule.HaveIBeenPwnedRule
-
maximum Duration for connecting to the API.
- setEndOfWord(boolean) - Method in class org.passay.dictionary.TernaryNode
-
Sets whether this node is at the end of a word.
- setEqkid(TernaryNode) - Method in class org.passay.dictionary.TernaryNode
-
Sets the eqkid node in relation to this node.
- setHikid(TernaryNode) - Method in class org.passay.dictionary.TernaryNode
-
Sets the hikid node in relation to this node.
- setLokid(TernaryNode) - Method in class org.passay.dictionary.TernaryNode
-
Sets the lokid node in relation to this node.
- setReadTimeout(Duration) - Method in class org.passay.rule.HaveIBeenPwnedRule
-
maximum Duration for reading from the API.
- setSplitChar(int) - Method in class org.passay.dictionary.TernaryNode
-
Sets the split character.
- SHANNON_COMPOSITION_SIEVE - Static variable in class org.passay.entropy.ShannonEntropy
-
Array used for determining composition "bonus" for calculating the Shannon entropy estimate.
- SHANNON_DICTIONARY_SIEVE - Static variable in class org.passay.entropy.ShannonEntropy
-
Array used for determining dictionary entropy "bonus" for calculating the Shannon entropy estimate.
- ShannonEntropy - Class in org.passay.entropy
-
Entropy bits estimate defined in NIST SP-800-63-1 User Selected Passwords.
- ShannonEntropy(boolean, boolean, int) - Constructor for class org.passay.entropy.ShannonEntropy
-
Creates a new shannon entropy estimate.
- ShannonEntropyFactory - Class in org.passay.entropy
-
Factory for creating
ShannonEntropyfrom password rules and password data. - ShannonEntropyFactory() - Constructor for class org.passay.entropy.ShannonEntropyFactory
-
Private constructor for factory class.
- size - Variable in class org.passay.dictionary.AbstractFileWordList
-
Number of words in the file.
- size() - Method in class org.passay.dictionary.AbstractFileWordList
- size() - Method in class org.passay.dictionary.ArrayWordList
- size() - Method in class org.passay.dictionary.BloomFilterDictionary
-
Returns an estimate for the number of words added to the dictionary.
- size() - Method in interface org.passay.dictionary.Dictionary
-
Returns the number of words in this dictionary
- size() - Method in class org.passay.dictionary.JDBCDictionary
- size() - Method in class org.passay.dictionary.TernaryTreeDictionary
- size() - Method in interface org.passay.dictionary.WordList
-
Returns the number of words in the list.
- size() - Method in class org.passay.dictionary.WordListDictionary
- sizeStatement - Variable in class org.passay.dictionary.JDBCDictionary
-
SQL size statement.
- sort(String[]) - Method in interface org.passay.dictionary.sort.ArraySorter
-
This will sort the supplied string array.
- sort(String[]) - Method in class org.passay.dictionary.sort.ArraysSort
- sort(String[], Comparator<CharSequence>) - Method in interface org.passay.dictionary.sort.ArraySorter
-
This will sort the supplied string array.
- sort(String[], Comparator<CharSequence>) - Method in class org.passay.dictionary.sort.ArraysSort
- sort(String[], Comparator<CharSequence>) - Method in class org.passay.dictionary.sort.BubbleSort
- sort(String[], Comparator<CharSequence>) - Method in class org.passay.dictionary.sort.InsertionSort
- sort(String[], Comparator<CharSequence>) - Method in class org.passay.dictionary.sort.QuickSort
- sort(String[], Comparator<CharSequence>) - Method in class org.passay.dictionary.sort.SelectionSort
- sort(String[], Comparator<CharSequence>, int, int) - Static method in class org.passay.dictionary.sort.QuickSort
-
This will sort the supplied array beginning at the lo index and ending at the hi index, using the quick sort algorithm.
- SourceReference - Class in org.passay.support
-
Reference to a source password.
- SourceReference(CharSequence) - Constructor for class org.passay.support.SourceReference
-
Creates a new source reference.
- SourceReference(String, CharSequence) - Constructor for class org.passay.support.SourceReference
-
Creates a new source reference.
- SourceReference(String, CharSequence, Salt) - Constructor for class org.passay.support.SourceReference
-
Creates a new source reference.
- SourceReference(String, UnicodeString) - Constructor for class org.passay.support.SourceReference
-
Creates a new source reference.
- SourceReference(String, UnicodeString, Salt) - Constructor for class org.passay.support.SourceReference
-
Creates a new source reference.
- SourceReference(UnicodeString) - Constructor for class org.passay.support.SourceReference
-
Creates a new source reference.
- SourceRule - Class in org.passay.rule
-
Rule for determining if a password matches a password from a different source.
- SourceRule() - Constructor for class org.passay.rule.SourceRule
-
Creates a new source rule.
- SourceRule(boolean) - Constructor for class org.passay.rule.SourceRule
-
Creates a new source rule.
- Special - Enum constant in enum org.passay.data.EnglishCharacterData
-
Special characters.
- Special - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
special characters.
- SpecialAscii - Enum constant in enum org.passay.data.EnglishCharacterData
-
Special ascii characters.
- SpecialAscii - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
special ascii characters.
- SpecialLatin - Enum constant in enum org.passay.data.EnglishCharacterData
-
Special latin characters.
- SpecialLatin - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
special latin characters.
- SpecialUnicode - Enum constant in enum org.passay.data.EnglishCharacterData
-
Special unicode characters.
- SpecialUnicode - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
special unicode characters.
- splitchar - Variable in class org.passay.dictionary.TernaryNode
-
code point of this node.
- SpringMessageResolver - Class in org.passay.resolver
-
Provides implementation for resolving validation message using Spring's
MessageSource. - SpringMessageResolver(MessageSource) - Constructor for class org.passay.resolver.SpringMessageResolver
-
Create a new instance with the locale associated with the current thread.
- SpringMessageResolver(MessageSource, Locale) - Constructor for class org.passay.resolver.SpringMessageResolver
-
Create a new instance with the specified locale.
- startsWith(UnicodeString) - Method in class org.passay.UnicodeString
-
Returns whether this unicode string starts with the supplied prefix.
- startsWith(UnicodeString, int) - Method in class org.passay.UnicodeString
-
Returns whether this unicode string starts with the supplied prefix at the supplied offset.
- StartsWith - Enum constant in enum org.passay.rule.MatchBehavior
- subSequence(int, int) - Method in class org.passay.UnicodeString
- substring(int) - Method in class org.passay.UnicodeString
-
Returns a new unicode string containing code points from the supplied begin index.
- substring(int, int) - Method in class org.passay.UnicodeString
-
Returns a new unicode string containing code points from the supplied begin index (inclusive) to the supplied end index (exclusive).
- SuccessRuleResult - Class in org.passay
-
Result of a password rule success.
- SuccessRuleResult() - Constructor for class org.passay.SuccessRuleResult
-
Creates a new success rule result.
- SuccessRuleResult(RuleResultMetadata) - Constructor for class org.passay.SuccessRuleResult
-
Creates a new success rule result.
- SuccessValidationResult - Class in org.passay
-
Result of a password validator success.
- SuccessValidationResult() - Constructor for class org.passay.SuccessValidationResult
-
Creates a new success validation result.
- SuccessValidationResult(double) - Constructor for class org.passay.SuccessValidationResult
-
Creates a new success validation result.
- SuccessValidationResult(double, RuleResultMetadata) - Constructor for class org.passay.SuccessValidationResult
-
Creates a new success validation result.
- SuccessValidationResult(RuleResultMetadata) - Constructor for class org.passay.SuccessValidationResult
-
Creates a new success validation result.
- SuffixSalt - Class in org.passay.support
-
A salt that is concatenated as a suffix to the password data.
- SuffixSalt(String) - Constructor for class org.passay.support.SuffixSalt
-
Creates a new salt with the given salt data.
T
- TernaryNode - Class in org.passay.dictionary
-
Implementation of a node contained in a ternary tree.
- TernaryNode(int) - Constructor for class org.passay.dictionary.TernaryNode
-
Create a new ternary node with the supplied code point.
- TernaryTree - Class in org.passay.dictionary
-
Implementation of a ternary tree.
- TernaryTree() - Constructor for class org.passay.dictionary.TernaryTree
-
Creates an empty case-sensitive ternary tree.
- TernaryTree(boolean) - Constructor for class org.passay.dictionary.TernaryTree
-
Creates an empty ternary tree with the given case sensitivity.
- TernaryTreeDictionary - Class in org.passay.dictionary
-
Provides fast searching for dictionary words using a ternary tree.
- TernaryTreeDictionary(TernaryTree) - Constructor for class org.passay.dictionary.TernaryTreeDictionary
-
Creates a dictionary that uses the supplied ternary tree for dictionary searches.
- TernaryTreeDictionary(WordList) - Constructor for class org.passay.dictionary.TernaryTreeDictionary
-
Creates a new balanced tree dictionary from the supplied
WordList. - TernaryTreeDictionary(WordList, boolean) - Constructor for class org.passay.dictionary.TernaryTreeDictionary
-
Creates a new dictionary instance from the given
WordList. - THIRD_PHASE_BONUS - Static variable in class org.passay.entropy.ShannonEntropy
-
Entropy bonus of the third phase.
- THIRD_PHASE_LENGTH - Static variable in class org.passay.entropy.ShannonEntropy
-
Length of the second phase.
- toByteArray(CharSequence, Charset) - Static method in class org.passay.PassayUtils
-
Converts the supplied text to a byte array using the supplied charset.
- toByteBuffer(CharSequence, Charset) - Static method in class org.passay.PassayUtils
-
Converts the supplied text to a byte buffer using the supplied charset.
- toCharArray() - Method in class org.passay.UnicodeString
-
Returns the array of characters in this unicode string.
- toCodePointArray() - Method in class org.passay.UnicodeString
-
Returns the array of code points in this unicode string.
- toLowerCase() - Method in class org.passay.UnicodeString
-
Returns a new unicode string with each character lower cased.
- toLowerCase(boolean) - Method in class org.passay.UnicodeString
-
Returns a new unicode string with each character lower cased.
- toMedianIndex(int, int) - Method in class org.passay.dictionary.AbstractWordList.WordListIterator
-
Returns the i-th element in the sequence of median indices of the given size.
- toString() - Method in class org.passay.AbstractRuleResult
- toString() - Method in class org.passay.AbstractValidationResult
- toString() - Method in class org.passay.DefaultPasswordValidator
- toString() - Method in class org.passay.dictionary.AbstractFileWordList.Cache
- toString() - Method in class org.passay.dictionary.AbstractFileWordList
- toString() - Method in class org.passay.dictionary.ArrayWordList
- toString() - Method in class org.passay.dictionary.BloomFilterDictionary
- toString() - Method in class org.passay.dictionary.WordListDictionary
- toString() - Method in class org.passay.generate.PasswordGenerator
- toString() - Method in class org.passay.PasswordData
- toString() - Method in class org.passay.rule.AbstractDictionaryRule
- toString() - Method in class org.passay.rule.AllowedCharacterRule
- toString() - Method in class org.passay.rule.AllowedRegexRule
- toString() - Method in class org.passay.rule.CharacterCharacteristicsRule
- toString() - Method in class org.passay.rule.CharacterOccurrencesRule
- toString() - Method in class org.passay.rule.CharacterRule
- toString() - Method in class org.passay.rule.HaveIBeenPwnedRule
- toString() - Method in class org.passay.rule.HistoryRule
- toString() - Method in class org.passay.rule.IllegalCharacterRule
- toString() - Method in class org.passay.rule.IllegalRegexRule
- toString() - Method in class org.passay.rule.IllegalSequenceRule
- toString() - Method in class org.passay.rule.LengthComplexityRule.Interval
- toString() - Method in class org.passay.rule.LengthComplexityRule
- toString() - Method in class org.passay.rule.LengthRule
- toString() - Method in enum org.passay.rule.MatchBehavior
- toString() - Method in class org.passay.rule.NumberRangeRule
- toString() - Method in class org.passay.rule.RepeatCharactersRule
- toString() - Method in class org.passay.rule.SourceRule
- toString() - Method in class org.passay.rule.UsernameRule
- toString() - Method in class org.passay.rule.WhitespaceRule
- toString() - Method in class org.passay.RuleResultDetail
- toString() - Method in class org.passay.RuleResultMetadata
- toString() - Method in class org.passay.support.AbstractReference
- toString() - Method in class org.passay.UnicodeString
- toString(int...) - Static method in class org.passay.PassayUtils
-
Creates a new string from the supplied code points.
- toUpperCase() - Method in class org.passay.UnicodeString
-
Returns a new unicode string with each character upper-cased.
- toUpperCase(boolean) - Method in class org.passay.UnicodeString
-
Returns a new unicode string with each character upper-cased.
- traverseNode(TernaryNode, String, List<CharSequence>) - Method in class org.passay.dictionary.TernaryTree
-
Recursively traverses every node in the ternary tree one node at a time beginning at the supplied node.
- tree - Variable in class org.passay.dictionary.TernaryTreeDictionary
-
Ternary tree used for searching.
U
- UnicodeString - Class in org.passay
-
Contains a list of character code points.
- UnicodeString(char...) - Constructor for class org.passay.UnicodeString
-
Creates a new unicode string.
- UnicodeString(int...) - Constructor for class org.passay.UnicodeString
-
Creates a new unicode string.
- UnicodeString(int[], char[]) - Constructor for class org.passay.UnicodeString
-
Internal copy constructor.
- UnicodeString(CharSequence) - Constructor for class org.passay.UnicodeString
-
Creates a new unicode string.
- union(UnicodeString) - Method in class org.passay.UnicodeString
-
Returns the union of this string and the other string.
- upper - Variable in class org.passay.rule.LengthComplexityRule.Interval
-
Upper bound of the interval (inclusive).
- UpperCase - Enum constant in enum org.passay.data.CyrillicCharacterData
-
Upper case characters.
- UpperCase - Enum constant in enum org.passay.data.CyrillicModernCharacterData
-
Upper case characters.
- UpperCase - Enum constant in enum org.passay.data.CzechCharacterData
-
Upper case characters.
- UpperCase - Enum constant in enum org.passay.data.EnglishCharacterData
-
Upper case characters.
- UpperCase - Enum constant in enum org.passay.data.GermanCharacterData
-
Upper case characters.
- UpperCase - Enum constant in enum org.passay.data.PolishCharacterData
-
Upper case characters.
- UpperCase - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
uppercase characters.
- upperRange - Variable in class org.passay.rule.NumberRangeRule
-
Upper end of the range.
- upperSnakeName() - Method in enum org.passay.rule.MatchBehavior
-
Returns the name of this match behavior in upper case snake casing.
- User - Enum constant in enum org.passay.support.Origin
-
a password which was generated by a typical human user.
- username - Variable in class org.passay.PasswordData
-
Stores the username.
- UsernameRule - Class in org.passay.rule
-
Rule for determining if a password contains the username associated with that password.
- UsernameRule() - Constructor for class org.passay.rule.UsernameRule
-
Default constructor.
- UsernameRule(boolean, boolean) - Constructor for class org.passay.rule.UsernameRule
-
Create a new username rule.
- UsernameRule(boolean, boolean, MatchBehavior) - Constructor for class org.passay.rule.UsernameRule
-
Create a new username rule.
- UsernameRule(MatchBehavior) - Constructor for class org.passay.rule.UsernameRule
-
Create a new username rule.
- USQwerty - Enum constant in enum org.passay.data.EnglishSequenceData
-
US QWERTY keyboard sequence.
V
- valid - Variable in class org.passay.AbstractRuleResult
-
Whether password rule was successful.
- valid - Variable in class org.passay.AbstractValidationResult
-
Whether password rule was successful.
- validate(PasswordData) - Method in class org.passay.DefaultPasswordValidator
- validate(PasswordData) - Method in interface org.passay.PasswordValidator
-
Validates the supplied password data against the rules in this validator.
- validate(PasswordData) - Method in class org.passay.rule.AbstractDictionaryRule
- validate(PasswordData) - Method in class org.passay.rule.AllowedCharacterRule
- validate(PasswordData) - Method in class org.passay.rule.AllowedRegexRule
- validate(PasswordData) - Method in class org.passay.rule.CharacterCharacteristicsRule
- validate(PasswordData) - Method in class org.passay.rule.CharacterOccurrencesRule
- validate(PasswordData) - Method in class org.passay.rule.CharacterRule
- validate(PasswordData) - Method in class org.passay.rule.CompositeRule
-
Validates the supplied password data against the rules in this composite rule.
- validate(PasswordData) - Method in class org.passay.rule.HaveIBeenPwnedRule
- validate(PasswordData) - Method in class org.passay.rule.HistoryRule
- validate(PasswordData) - Method in class org.passay.rule.IllegalCharacterRule
- validate(PasswordData) - Method in class org.passay.rule.IllegalRegexRule
- validate(PasswordData) - Method in class org.passay.rule.IllegalSequenceRule
- validate(PasswordData) - Method in class org.passay.rule.LengthComplexityRule
- validate(PasswordData) - Method in class org.passay.rule.LengthRule
- validate(PasswordData) - Method in class org.passay.rule.NumberRangeRule
- validate(PasswordData) - Method in class org.passay.rule.RepeatCharactersRule
- validate(PasswordData) - Method in interface org.passay.rule.Rule
-
Validates the supplied password data per the requirements of this rule.
- validate(PasswordData) - Method in class org.passay.rule.SourceRule
- validate(PasswordData) - Method in class org.passay.rule.UsernameRule
- validate(PasswordData) - Method in class org.passay.rule.WhitespaceRule
- ValidationResult - Interface in org.passay
-
Result of a password validator.
- valueOf(String) - Static method in enum org.passay.data.CyrillicCharacterData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.CyrillicModernCharacterData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.CyrillicModernSequenceData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.CyrillicSequenceData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.CzechCharacterData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.CzechSequenceData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.EnglishCharacterData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.EnglishSequenceData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.GermanCharacterData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.GermanSequenceData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.PolishCharacterData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.data.PolishSequenceData
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.rule.MatchBehavior
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.RuleResultMetadata.CountCategory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.passay.support.Origin
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.passay.data.CyrillicCharacterData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.CyrillicModernCharacterData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.CyrillicModernSequenceData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.CyrillicSequenceData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.CzechCharacterData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.CzechSequenceData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.EnglishCharacterData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.EnglishSequenceData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.GermanCharacterData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.GermanSequenceData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.PolishCharacterData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.data.PolishSequenceData
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.rule.MatchBehavior
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.RuleResultMetadata.CountCategory
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.passay.support.Origin
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- Whitespace - Enum constant in enum org.passay.RuleResultMetadata.CountCategory
-
whitespace characters.
- whitespaceCharacters - Variable in class org.passay.rule.WhitespaceRule
-
Stores the whitespace characters that are allowed.
- WhitespaceRule - Class in org.passay.rule
-
Rule for determining if a password contains whitespace characters.
- WhitespaceRule() - Constructor for class org.passay.rule.WhitespaceRule
-
Creates a new whitespace rule.
- WhitespaceRule(MatchBehavior) - Constructor for class org.passay.rule.WhitespaceRule
-
Creates a new whitespace rule.
- WhitespaceRule(MatchBehavior, boolean) - Constructor for class org.passay.rule.WhitespaceRule
-
Creates a new whitespace rule.
- WhitespaceRule(UnicodeString) - Constructor for class org.passay.rule.WhitespaceRule
-
Creates a new whitespace rule.
- WhitespaceRule(UnicodeString, boolean) - Constructor for class org.passay.rule.WhitespaceRule
-
Creates a new whitespace rule.
- WhitespaceRule(UnicodeString, MatchBehavior) - Constructor for class org.passay.rule.WhitespaceRule
-
Creates a new whitespace rule.
- WhitespaceRule(UnicodeString, MatchBehavior, boolean) - Constructor for class org.passay.rule.WhitespaceRule
-
Creates a new whitespace rule.
- word - Variable in class org.passay.dictionary.AbstractFileWordList.FileWord
-
Word read from backing file.
- wordBuf - Variable in class org.passay.dictionary.AbstractFileWordList
-
Buffer to hold word read from file.
- wordList - Variable in class org.passay.dictionary.WordListDictionary
-
list used for searching.
- WordList - Interface in org.passay.dictionary
-
Represents a random-access list of words.
- WordListDictionary - Class in org.passay.dictionary
-
Provides fast searching for dictionary words using a word list.
- WordListDictionary(WordList) - Constructor for class org.passay.dictionary.WordListDictionary
-
Creates a new dictionary instance from the supplied
WordList. - WordListIterator(boolean) - Constructor for class org.passay.dictionary.AbstractWordList.WordListIterator
-
Constructs a word list iterator.
- WordLists - Class in org.passay.dictionary
-
Utility class for common operations on word lists.
- WordLists() - Constructor for class org.passay.dictionary.WordLists
-
Private constructor of utility class.
- words - Variable in class org.passay.dictionary.ArrayWordList
-
file containing words.
- wrapSequence - Variable in class org.passay.rule.IllegalSequenceRule
-
Whether to wrap a sequence when searching for matches.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form