sso update

This commit is contained in:
Rinjae
2025-11-27 16:49:19 +09:00
parent 2e8fde6bc7
commit 9695690574
@@ -39,9 +39,9 @@ public class KjbSsoModule {
private final String NLS_ERROR_URL; private final String NLS_ERROR_URL;
/***[SSO ND LIST 운영]**]***********************************************************************/ /***[SSO ND LIST 운영]**]***********************************************************************/
private final static String ND_URL1 = "http://sso.kjbank.com:5480"; private final String ND_URL1;
private final static Vector PROVIDER_LIST = new Vector(); private final Vector PROVIDER_LIST = new Vector();
private final static int COOKIE_SESSTION_TIME_OUT = 3000000; private final int COOKIE_SESSTION_TIME_OUT = 3000000;
// 인증 타입 (ID/PW 방식 : 1, 인증서 : 3) // 인증 타입 (ID/PW 방식 : 1, 인증서 : 3)
private final String TOA = "1"; private final String TOA = "1";
@@ -62,8 +62,6 @@ public class KjbSsoModule {
private KjbSsoModule(KjbProperty kjbProperty) { private KjbSsoModule(KjbProperty kjbProperty) {
this.prop = kjbProperty; this.prop = kjbProperty;
context = new NXContext(Collections.singletonList(ND_URL1), timeout);
ascpUrl = prop.getUrl() + prop.getSsoAscpUri(); ascpUrl = prop.getUrl() + prop.getSsoAscpUri();
NLS_URL = "http://" + prop.getSsoDomain(); NLS_URL = "http://" + prop.getSsoDomain();
@@ -72,11 +70,14 @@ public class KjbSsoModule {
NLS_LOGOUT_URL = NLS_URL + ":" + NLS_PORT + "/nls3/NCLogout.jsp"; NLS_LOGOUT_URL = NLS_URL + ":" + NLS_PORT + "/nls3/NCLogout.jsp";
NLS_ERROR_URL = NLS_URL + ":" + NLS_PORT + "/nls3/error.jsp"; NLS_ERROR_URL = NLS_URL + ":" + NLS_PORT + "/nls3/error.jsp";
ND_URL1 = "http://" + prop.getSsoDomain() + ":5480";
PROVIDER_DOMAIN = prop.getSsoDomain(); PROVIDER_DOMAIN = prop.getSsoDomain();
this.providerList = new Vector<>(); this.providerList = new Vector<>();
providerList.add(PROVIDER_DOMAIN); providerList.add(PROVIDER_DOMAIN);
context = new NXContext(Collections.singletonList(ND_URL1), timeout);
CookieManager.setEncStatus(true); CookieManager.setEncStatus(true);
SECode.setCookiePadding(COOKIE_PADDING); SECode.setCookiePadding(COOKIE_PADDING);