Package org.passay
Interface Rule
-
- All Known Implementing Classes:
AbstractDictionaryRule
,AllowedCharacterRule
,AllowedRegexRule
,CharacterCharacteristicsRule
,CharacterOccurrencesRule
,CharacterRule
,DictionaryRule
,DictionarySubstringRule
,DigestDictionaryRule
,DigestHistoryRule
,DigestSourceRule
,HistoryRule
,IllegalCharacterRule
,IllegalRegexRule
,IllegalSequenceRule
,LengthComplexityRule
,LengthRule
,NumberRangeRule
,PasswordValidator
,RepeatCharacterRegexRule
,RepeatCharactersRule
,SourceRule
,UsernameRule
,WhitespaceRule
public interface Rule
Interface for password strength rules.- Author:
- Middleware Services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleResult
validate(PasswordData passwordData)
Validates the supplied password data per the requirements of this rule.
-
-
-
Method Detail
-
validate
RuleResult validate(PasswordData passwordData)
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.
-
-