diff --git a/WebContent/sso/app01.jsp b/WebContent/sso/app01.jsp
index d0bdd9b..8bd236d 100644
--- a/WebContent/sso/app01.jsp
+++ b/WebContent/sso/app01.jsp
@@ -10,7 +10,7 @@
%>
-
Insert title here
diff --git a/src/main/java/com/eactive/eai/rms/ext/kjb/sso/SsoController.java b/src/main/java/com/eactive/eai/rms/ext/kjb/sso/SsoController.java
index ae26fe2..7c9df9d 100644
--- a/src/main/java/com/eactive/eai/rms/ext/kjb/sso/SsoController.java
+++ b/src/main/java/com/eactive/eai/rms/ext/kjb/sso/SsoController.java
@@ -11,6 +11,7 @@ import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
+import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Properties;
@@ -52,6 +53,18 @@ public class SsoController implements InterceptorSkipController {
log.debug("retCode : {}", retCode);
if (!prop.isSsoIgnoreValidation() && !"0".equalsIgnoreCase(retCode)) {
+
+ // 디버깅용 쿠키 목록 출력
+ Cookie[] cookies = req.getCookies();
+ if (cookies == null || cookies.length == 0) {
+ log.debug("No cookies");
+ }
+
+ for (Cookie c: cookies) {
+ log.debug("Cookie[{}] : {}, Domain={}, Path={}, Max-Age={}, Secure={}, Version={}",
+ c.getName(), c.getValue(), c.getDomain(), c.getPath(), c.getMaxAge(), c.getSecure(), c.getVersion());
+ }
+
ssoModule.goErrorPage(res, Integer.parseInt(retCode));
return null;
}