Annotation Interface Password


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Password
A password field that shows * when user types.

The data type is String. Applies to properties.

Example:

  @Password
  @Column(length=40)
  private String password;
 
It's synonymous of @Stereotype("PASSWORD").
Since:
6.6
Author:
Javier Paniza