Interface PasswordValidator

All Known Implementing Classes:
DifferentFromOldPasswordValidator, PasswordStrengthValidator

public interface PasswordValidator
  • Method Details

    • validatePassword

      PasswordValidationResult validatePassword(String username, String newPassword)
      Validates a new password
      Parameters:
      username - the name of the user to validate the password for
      newPassword - the new password
    • getRules

      List<PasswordRule> getRules()