Package org.passay.rule
Interface Rule
- All Known Implementing Classes:
AbstractDictionaryRule,AllowedCharacterRule,AllowedRegexRule,CharacterCharacteristicsRule,CharacterOccurrencesRule,CharacterRule,CompositeRule,DictionaryRule,DictionarySubstringRule,DigestDictionaryRule,DigestHistoryRule,DigestSourceRule,HaveIBeenPwnedRule,HistoryRule,IllegalCharacterRule,IllegalRegexRule,IllegalSequenceRule,LengthComplexityRule,LengthRule,NumberRangeRule,RepeatCharactersRule,SourceRule,UsernameRule,WhitespaceRule
public interface Rule
Interface for password strength rules.
-
Method Summary
Modifier and TypeMethodDescriptionvalidate(PasswordData passwordData) Validates the supplied password data per the requirements of this rule.
-
Method Details
-
validate
Validates the supplied password data per the requirements of this rule.- Parameters:
passwordData- to verify (not null).- Returns:
- details on password verification
- Throws:
NullPointerException- if the rule data is null.
-