diff --git a/WebContent/sso/config.jsp b/WebContent/sso/config.jsp index 9bbc3849..943b774b 100644 --- a/WebContent/sso/config.jsp +++ b/WebContent/sso/config.jsp @@ -21,7 +21,8 @@ private String SERVICE_NAME = "Web"; private String SERVER_URL = "http://manage-eapimt.kjbank.com"; private String SERVER_PORT = "30100"; - private String ASCP_URL = SERVER_URL + ":" + SERVER_PORT + "/monitoring/sso/login_exec.jsp"; + //private String ASCP_URL = SERVER_URL + ":" + SERVER_PORT + "/monitoring/sso/login_exec.jsp"; + private String ASCP_URL = "https://manage-eapimt.kjbank.com/monitoring/sso/login_exec.jsp"; /*************************************************************************************************/ diff --git a/WebContent/sso/login_exec.jsp b/WebContent/sso/login_exec.jsp index a089483e..9a129286 100644 --- a/WebContent/sso/login_exec.jsp +++ b/WebContent/sso/login_exec.jsp @@ -40,7 +40,7 @@ //5 확장 정보 조회 ext_info = getUserExField(sso_id, "CELLPHONENO"); service_id = SERVICE_NAME; - System.out.println ("SERVICE_NAME : " + service_id); + out.println ("SERVICE_NAME : " + service_id); // //6.업무시스템에 읽을 사용자 아이디를 세션으로 생성 /* 변경 전 @@ -60,10 +60,26 @@ session.setAttribute("APP_ID", service_id); session.setAttribute("EXT_INFO", ext_info); session.setAttribute("RET_CODE", retCode); + + out.println ("SSO_ID : " + sso_id); + out.println ("APP_ID : " + service_id); + out.println ("EXT_INFO : " + ext_info); + out.println ("RET_CODE : " + retCode); + out.println ("ext_info : " + ext_info); + + Properties info = ssoModule.getUserInfos(ssoId); + if (info != null) { + out.println("info - " + info.keySet()); + info.keySet().forEach( k -> { + out.println(k + " - " + info.get(k)); + }); + } else { + out.println("User info is null"); + } } //7.업무시스템 페이지 호출(세션 페이지 또는 메인페이지 지정) --> 업무시스템에 맞게 URL 수정! - response.sendRedirect(SERVER_URL + ":" + SERVER_PORT + "/se/app01.jsp"); + //response.sendRedirect(SERVER_URL + ":" + SERVER_PORT + "/se/app01.jsp"); } %>