Class PasswordValidator

java.lang.Object
com.unosquare.carmigo.annotation.PasswordValidator
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<ValidPassword,String>

public class PasswordValidator extends Object implements jakarta.validation.ConstraintValidator<ValidPassword,String>
Sets out the rules of a valid password.
  • Constructor Details

    • PasswordValidator

      public PasswordValidator()
  • Method Details

    • isValid

      public boolean isValid(String parameter, jakarta.validation.ConstraintValidatorContext context)
      Specified by:
      isValid in interface jakarta.validation.ConstraintValidator<ValidPassword,String>