Uses of Interface
org.passay.rule.Rule
Packages that use Rule
-
Uses of Rule in org.passay
Fields in org.passay with type parameters of type RuleModifier and TypeFieldDescriptionstatic final BiFunction<List<? extends Rule>,PasswordData, Entropy> DefaultPasswordValidator.DEFAULT_ENTROPY_PROVIDERCalculates the entropy of the givenPasswordDatabased on the password rules specified.private final BiFunction<List<? extends Rule>,PasswordData, Entropy> DefaultPasswordValidator.entropyProviderEntropy provider.static final BiFunction<List<? extends Rule>,PasswordData, Entropy> DefaultPasswordValidator.NO_ENTROPY_PROVIDEREntropy provider that returns -1.DefaultPasswordValidator.passwordRulesPassword rules.Methods in org.passay that return types with arguments of type RuleModifier and TypeMethodDescriptionBiFunction<List<? extends Rule>,PasswordData, Entropy> DefaultPasswordValidator.getEntropyProvider()BiFunction<List<? extends Rule>,PasswordData, Entropy> PasswordValidator.getEntropyProvider()Returns the entropy provider for this validator.DefaultPasswordValidator.getRules()PasswordValidator.getRules()Returns the password rules for this validator.Constructors in org.passay with parameters of type RuleModifierConstructorDescriptionDefaultPasswordValidator(boolean failFast, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, MessageResolver resolver, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(MessageResolver resolver, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(Rule... rules) Creates a new default password validator.Constructor parameters in org.passay with type arguments of type RuleModifierConstructorDescriptionDefaultPasswordValidator(boolean failFast, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(boolean failFast, MessageResolver resolver, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, List<? extends Rule> rules) Creates a new default password validator.DefaultPasswordValidator(MessageResolver resolver, BiFunction<List<? extends Rule>, PasswordData, Entropy> entropyProvider, Rule... rules) Creates a new default password validator.DefaultPasswordValidator(MessageResolver resolver, List<? extends Rule> rules) Creates a new default password validator. -
Uses of Rule in org.passay.entropy
Method parameters in org.passay.entropy with type arguments of type RuleModifier and TypeMethodDescriptionstatic RandomPasswordEntropyRandomPasswordEntropyFactory.createEntropy(List<? extends Rule> passwordRules, PasswordData passwordData) Creates a new random password entropy.static ShannonEntropyShannonEntropyFactory.createEntropy(List<? extends Rule> passwordRules, PasswordData passwordData) Creates a new shannon entropy. -
Uses of Rule in org.passay.generate
Fields in org.passay.generate with type parameters of type RuleModifier and TypeFieldDescriptionPasswordGenerator.passwordRulesRules to determine password character appenders.Method parameters in org.passay.generate with type arguments of type RuleModifier and TypeMethodDescriptionprivate UnicodeStringPasswordGenerator.getAllowedCharacters(List<? extends Rule> rules) Returns the unique set of allowed characters as defined in the supplied list ofAllowedCharacterRule.protected List<CharacterAppender>PasswordGenerator.getCharacterAppenders(List<? extends Rule> rules, UnicodeString allowedChars, UnicodeString illegalChars, Random rand) Returns the list of character appenders used for password generation.private UnicodeStringFillRemainingCharactersAppender.getCharacters(List<? extends Rule> rules) Return a unicode string that contains the unique characters from allCharacterRuleorCharacterCharacteristicsRulecontained in the supplied list.private UnicodeStringPasswordGenerator.getIllegalCharacters(List<? extends Rule> rules) Returns the unique set of illegal characters as defined in the supplied list ofIllegalCharacterRule.Constructors in org.passay.generate with parameters of type RuleModifierConstructorDescriptionPasswordGenerator(int length, int retryLimit, Rule... rules) Creates a new password generator.PasswordGenerator(int length, Rule... rules) Creates a new password generator.PasswordGenerator(Random random, int length, int retryLimit, Rule... rules) Creates a new password generator.Constructor parameters in org.passay.generate with type arguments of type RuleModifierConstructorDescriptionFillRemainingCharactersAppender(List<? extends Rule> rules, UnicodeString allowedChars, UnicodeString illegalChars, Random rand) Creates a new fill appender.PasswordGenerator(int length, int retryLimit, List<? extends Rule> rules) Creates a new password generator.PasswordGenerator(int length, List<? extends Rule> rules) Creates a new password generator.PasswordGenerator(Random random, int length, int retryLimit, List<? extends Rule> rules) Creates a new password generator. -
Uses of Rule in org.passay.rule
Classes in org.passay.rule that implement RuleModifier and TypeClassDescriptionclassProvides common implementation for password dictionary rules.classRule for determining if a password contains allowed characters.classRule for determining if a password matches an allowed regular expression.classRule for determining if a password contains the desired mix of character types.classValidates that a password does not contain too many occurrences of the same character.classValidates whether a password contains a certain number of a type of character.classRulethat is composed of other rules.classRule for determining if a password matches a dictionary word.classRule for determining if a password contains a dictionary word with optional checking for reversed words.classRule for determining if a password matches a digested password that is stored in a dictionary.classRule for determining if a password matches one of any previous digested password a user has chosen.classRule for determining if a password matches a digested password from a different source.classValidates the password against the online database ofhaveibeenpwned.comoptionally allowing the usage of found passwords, but returns the number of found matches in the metadata.classRule for determining if a password matches one of any previous password a user has chosen.classRule for determining if a password contains an illegal character.classRule for determining if a password matches an illegal regular expression.classPassword validation rule that prevents illegal sequences of characters, e.g. keyboard, alphabetical, numeric.classRule for determining if a password contains the desired complexity for a certain length.classRule for determining if a password is within a desired length.classRule for determining if a password contains any number within a defined range, lower inclusive, upper exclusive.classRule for determining if a password contains multiple sequences of repeating characters.classRule for determining if a password matches a password from a different source.classRule for determining if a password contains the username associated with that password.classRule for determining if a password contains whitespace characters.Fields in org.passay.rule with type parameters of type RuleModifier and TypeFieldDescriptionCompositeRule.passwordRulesPassword rules.private final Map<LengthComplexityRule.Interval,List<Rule>> LengthComplexityRule.rulesRules to apply when checking a password.Methods in org.passay.rule that return types with arguments of type RuleModifier and TypeMethodDescriptionMap<LengthComplexityRule.Interval,List<? extends Rule>> LengthComplexityRule.getRules()Returns the password rules for this complexity rule.LengthComplexityRule.getRulesByLength(int length) Returns the rules that apply to the supplied password length.Constructors in org.passay.rule with parameters of type RuleModifierConstructorDescriptionCompositeRule(Rule... rules) SeeCompositeRule(List).Creates a new entry.Constructor parameters in org.passay.rule with type arguments of type Rule