Spring boot Security redirect 정보 가져오기
@RequestMapping("/login") public String login(HttpServletRequest request, HttpServletResponse response) { // case1 HttpSession session = request.getSession(); log.debug(session.getAttribute("SPRING_SECURITY_SAVED_REQUEST")); // case2 RequestCache requestCache = new HttpSessionRequestCache(); SavedRequest savedRequest = requestCache.getRequest(request, response); ..
2024.07.29