LoginInterceptor package study.thboard2.common.interceptor; import lombok.extern.slf4j.Slf4j; import org.springframework.web.servlet.HandlerInterceptor; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; @Slf4j //로그인 인터셉터 public class LoginInterceptor implements HandlerInterceptor { //아래처럼 의존성 주입하려면 config에서 @Bean으로..