Annotation Type UniqueUsernameExclPrincipal
-
@Constraint(validatedBy=UniqueUsernameExclPrincipalValidator.class) @Target(FIELD) @Retention(RUNTIME) public @interface UniqueUsernameExclPrincipal
Annotation to check uniqueness of username except the one that caused the check