Annotation Interface Redacted


@Retention(RUNTIME) @Target(FIELD) public @interface Redacted
Annotation supposed to be placed on any field in Config (and its subproperties in embedded configuration classes) which will be redacted e.g. password or similar.

User querying system_views.settings will be shown redacted values on such fields.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • redactedValue

      String redactedValue
      Returns:
      redacted value, defaults to <REDACTED>.
      Default:
      "<REDACTED>"