|
|
@@ -5,7 +5,6 @@ import NiceID.Check.CPClient;
|
|
|
import com.gagaframework.web.parameter.GagaMap;
|
|
|
import com.gagaframework.web.util.GagaDateUtil;
|
|
|
import com.gagaframework.web.util.GagaFileUtil;
|
|
|
-import com.style24.core.support.session.TscSession;
|
|
|
import com.style24.front.support.security.session.TsfSession;
|
|
|
import com.style24.persistence.domain.Customer;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
@@ -68,7 +67,7 @@ public class NiceCertify {
|
|
|
|
|
|
String sRequestNo = niceCheck.getRequestNO(niceId);
|
|
|
log.info("sRequestNo: {}", sRequestNo);
|
|
|
- TscSession.setAttribute("REQ_SEQ", sRequestNo);
|
|
|
+ TsfSession.setAttribute("REQ_SEQ", sRequestNo);
|
|
|
|
|
|
String callback = GagaFileUtil.getConcatenationPath(PROTOCOL + TsfSession.getHttpServletRequest().getServerName(), niceCallback);
|
|
|
log.info("niceCallback: {}", niceCallback);
|
|
|
@@ -184,7 +183,7 @@ public class NiceCertify {
|
|
|
String sMobileCo = (String)result.get("MOBILE_CO"); // 통신사
|
|
|
|
|
|
|
|
|
- String sRequestNo = TscSession.getAttribute("REQ_SEQ"); // 세션에 저장된 요청번호
|
|
|
+ String sRequestNo = TsfSession.getAttribute("REQ_SEQ"); // 세션에 저장된 요청번호
|
|
|
if (!sRequestNo.equals(sRequestNumber)) {
|
|
|
sResponseNumber = "";
|
|
|
sAuthType = "";
|
|
|
@@ -235,7 +234,7 @@ public class NiceCertify {
|
|
|
String callback = GagaFileUtil.getConcatenationPath( PROTOCOL + TsfSession.getHttpServletRequest().getServerName(), ipinCallback);
|
|
|
|
|
|
String sCPRequestNo = ipinClinet.getRequestNO(ipinId);
|
|
|
- TscSession.setAttribute("CPREQUEST", sCPRequestNo);
|
|
|
+ TsfSession.setAttribute("CPREQUEST", sCPRequestNo);
|
|
|
|
|
|
// 인증요청 암호화 데이터 생성
|
|
|
int iRtn = ipinClinet.fnRequest(ipinId, ipinPwd, sCPRequestNo, callback);
|
|
|
@@ -318,7 +317,7 @@ public class NiceCertify {
|
|
|
String sAuthInfo = ipinClinet.getAuthInfo(); // 본인확인수단 (0~4: 가이드 참조)
|
|
|
|
|
|
|
|
|
- String sCPRequestNo = TscSession.getAttribute("CPREQUEST");
|
|
|
+ String sCPRequestNo = TsfSession.getAttribute("CPREQUEST");
|
|
|
if (!sCPRequestNo.equals(sCPRequestNum)) {
|
|
|
throw new IllegalStateException("세션값 불일치 오류 입니다.");
|
|
|
}
|