@Target({ElementType.PARAMETER, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@AuthenticationPrincipal
public @interface CurrentUser {
}
Created
April 29, 2021 17:02
-
-
Save tuhin47/1270913bdfc8ed3a2c079d5d2a754b9e to your computer and use it in GitHub Desktop.
Spring Current User
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment