Annotation Interface Secret


@Retention(RUNTIME) @Target(FIELD) public @interface Secret
Annotation that indicates that annotated element is secret. For example, if the User entity attribute is annotated with @Secret then this attribute won't be returned by the REST API /userInfo endpoint.