Interface PasswordConstraint

All Known Implementing Classes:
CharacterClassConstraint, PasswordLengthConstraint, PasswordScoreConstraint, RegexConstraint

public interface PasswordConstraint
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(ValidatePasswordRequest validatePasswordRequest)
    Validates the given credential according to this constraint's rules.
  • Method Details

    • validate

      boolean validate(ValidatePasswordRequest validatePasswordRequest)
      Validates the given credential according to this constraint's rules.
      Parameters:
      validatePasswordRequest - a ValidatePasswordRequest
      Returns:
      whether the password satisfies this constraint