Class PasswordMatchesValidator

java.lang.Object
org.xbricks.common.generic.validation.PasswordMatchesValidator
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<PasswordMatches,Object>

public class PasswordMatchesValidator extends Object implements jakarta.validation.ConstraintValidator<PasswordMatches,Object>
  • Constructor Details

    • PasswordMatchesValidator

      public PasswordMatchesValidator()
  • Method Details

    • initialize

      public void initialize(PasswordMatches constraintAnnotation)
      Specified by:
      initialize in interface jakarta.validation.ConstraintValidator<PasswordMatches,Object>
    • isValid

      public boolean isValid(Object obj, jakarta.validation.ConstraintValidatorContext context)
      Specified by:
      isValid in interface jakarta.validation.ConstraintValidator<PasswordMatches,Object>