public class PasswordValidator extends Object implements javax.validation.ConstraintValidator<Password,Object>
blacklist you can give a comma separated list of words which are not allowed
to be part of the password. Default is no entry.disalowedStartChars you can define characters which are not allowed as first
character in the password. Default is no entry.maxRepeatChar you can limit the repeat of a single character, default is 0
which means no limitation.| Constructor and Description |
|---|
PasswordValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Password pconstraintAnnotation)
initialize the validator.
|
boolean |
isValid(Object pvalue,
javax.validation.ConstraintValidatorContext pcontext)
check if given object is valid.
|
Copyright © 2015–2016. All rights reserved.