Package com.unosquare.carmigo.annotation
Annotation Interface ValidPassword
@Documented
@Constraint(validatedBy=PasswordValidator.class)
@Target({FIELD,PARAMETER})
@Retention(RUNTIME)
public @interface ValidPassword
This annotation checks whether a given password is valid.
-
Optional Element Summary
-
Element Details
-
message
String message- Default:
- "must be between 8 and 65 characters and at least 2 of the following: alphanumeric characters and/or one specialcharacter ( @#$%^&+=!? ) and/or one capital letter"
-
groups
Class<?>[] groups- Default:
- {}
-
payload
Class<? extends jakarta.validation.Payload>[] payload- Default:
- {}
-