Interface PasswordStrengthChecker
-
public interface PasswordStrengthCheckerSpecifies the interface for the password strength checkers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription(SubstanceSlices.PasswordStrength strength)Returns the description of the password strength.SubstanceSlices.PasswordStrengthgetStrength(char[] password)Computes the strength of the specified password.
-
-
-
Method Detail
-
getStrength
SubstanceSlices.PasswordStrength getStrength(char[] password)
Computes the strength of the specified password.- Parameters:
password- Password.- Returns:
- Password strength.
-
getDescription
java.lang.String getDescription(SubstanceSlices.PasswordStrength strength)
Returns the description of the password strength. The returned value can contain HTML constructs and will be used as the tooltip text on the strength-check enabled password fields.- Parameters:
strength- Password strength.- Returns:
- The description of the specified password strength.
-
-