Annotation Interface UserDefinition


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface UserDefinition
Indicates that this entity class should be used as a source of identity information. At most one entity can have that annotation in an application. The entity must contain fields or properties annotated with the Username, Password and Roles annotations.