public static LoginVO getUser(){ ServletRequestAttributes servletrequestattributes = (ServletRequestAttributes) RequestContextHolder.currentRequestAttributes(); HttpSession session = servletrequestattributes.getRequest().getSession(true); return (LoginVO) session.getAttribute("컨트롤러에서 만들었던 setAttribute 값 ex)loginVO"); } 참고 : https://devmg.tistory.com/63