Interface PasswordStrengthChecker
-
- All Known Implementing Classes:
SimplePasswordStrengthChecker
public interface PasswordStrengthCheckerDeclaration of checker contract.- Author:
- baranowb, Darran Lofthouse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PasswordStrengthCheckResultcheck(String userName, String password, List<PasswordRestriction> restictions)Determines password strength.
-
-
-
Method Detail
-
check
PasswordStrengthCheckResult check(String userName, String password, List<PasswordRestriction> restictions)
Determines password strength. Checks and algorithm are implementation specific.- Parameters:
userName- - The username the password is being specified for.password- - password which is going to be inspectedrestictions- - adhoc password restriction list. Those will be additionally checked against password.- Returns:
- result indicating strength of password and possible failure reasons.
-
-