From 6bc70dfed20a14cb7119bf803aacf96879f3cfd7 Mon Sep 17 00:00:00 2001 From: Rinjae Date: Mon, 1 Dec 2025 21:25:25 +0900 Subject: [PATCH] sso update --- WebContent/sso/login_exec.jsp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/WebContent/sso/login_exec.jsp b/WebContent/sso/login_exec.jsp index f3a8952..2c14fa7 100644 --- a/WebContent/sso/login_exec.jsp +++ b/WebContent/sso/login_exec.jsp @@ -30,10 +30,14 @@ test-1
out.println("retCode : " + retCode); response.flushBuffer(); - if(!retCode.equals("0")){ + if(!retCode.equals("0")) { out.println("go error page"); + response.flushBuffer(); //goErrorPage(response, Integer.parseInt(retCode)); return; + } else { + out.println("no go error page"); + response.flushBuffer(); } /*********************************************************************************** * < TO-DO > @@ -43,10 +47,13 @@ test-1
************************************************************************************/ //5 확장 정보 조회 + out.println ("5 확장 정보 조회"); + response.flushBuffer(); ext_info = getUserExField(sso_id, "CELLPHONENO"); service_id = SERVICE_NAME; out.println ("SERVICE_NAME : " + service_id); out.println ("ext_info : " + ext_info); + response.flushBuffer(); // //6.업무시스템에 읽을 사용자 아이디를 세션으로 생성 /* 변경 전 @@ -58,8 +65,10 @@ test-1
session.setAttribute("RET_CODE", retCode); } */ - - + + out.println ("Try Session set"); + + response.flushBuffer(); /*변경 후*/ if(!sso_id.replace(" ", "").equals("")) { session.setAttribute("SSO_ID", sso_id); @@ -75,9 +84,11 @@ test-1
} out.println("go app"); + response.flushBuffer(); //7.업무시스템 페이지 호출(세션 페이지 또는 메인페이지 지정) --> 업무시스템에 맞게 URL 수정! //response.sendRedirect(SERVER_URL + ":" + SERVER_PORT + "/se/app01.jsp"); } %> +END \ No newline at end of file