public class ValidPasswordValidator extends Object implements javax.validation.ConstraintValidator<ValidPassword,String>
Constructor and Description |
---|
ValidPasswordValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(ValidPassword constraintAnnotation) |
boolean |
isValid(String value,
javax.validation.ConstraintValidatorContext context) |
public void initialize(ValidPassword constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<ValidPassword,String>
public boolean isValid(String value, javax.validation.ConstraintValidatorContext context)
isValid
in interface javax.validation.ConstraintValidator<ValidPassword,String>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.