+) SecurityContextHolder와 ThreadLocal의 동작 원리
전체 흐름
요청 시작
↓
SecurityContextHolderFilter
↓
SecurityContextRepository 로부터 SecurityContext 조회
(세션 기반- HttpSession에서 SecurityContext 조회)
↓
SecurityContextHolder 저장
↓
Controller / Service 실행
↓
요청 종료
↓
SecurityContextHolder.clearContext()
먼저 로그인이 성공 시점에