Annotation Interface AuthenticationPrincipal


@Target({PARAMETER,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Deprecated public @interface AuthenticationPrincipal
Deprecated.
Annotation that binds a method parameter or method return value to the Authentication.getPrincipal(). This is necessary to signal that the argument should be resolved to the current user rather than a user that might be edited on a form.
Since:
3.2