Annotation Type Encrypted


@Target(FIELD) @Retention(RUNTIME) public @interface Encrypted
Specify that the property is stored in encrypted form.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    When true try to use DB encryption rather than local java encryption.
    int
    Used to specify the DB column length.
  • Element Details

    • dbEncryption

      boolean dbEncryption
      When true try to use DB encryption rather than local java encryption.
      Default:
      true
    • dbLength

      int dbLength
      Used to specify the DB column length.
      Default:
      0