Interface PasswordStrengthChecker

    • 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 inspected
        restictions - - adhoc password restriction list. Those will be additionally checked against password.
        Returns:
        result indicating strength of password and possible failure reasons.