본문 바로가기

Java Spring Boot

@Annotation 정리

 

@AuthenticationPrincipal 
:Spring Security에서 현재 인증된 사용자의 Principal(주체)을 주입받기 위해 사용되는 어노테이션.