kjb property update

This commit is contained in:
Rinjae
2025-11-27 14:54:51 +09:00
parent 5f196eb9d6
commit e6495d7add
3 changed files with 33 additions and 10 deletions
@@ -32,11 +32,11 @@ public class KjbSsoModule {
private final String ascpUrl;
/***[SSO CONFIGURATION]**]***********************************************************************/
private final String NLS_URL = "http://sso.kjbank.com";
private final String NLS_PORT = "13890";
private final String NLS_LOGIN_URL = NLS_URL + ":" + NLS_PORT + "/nls3/clientLogin.jsp";
private final String NLS_LOGOUT_URL= NLS_URL + ":" + NLS_PORT + "/nls3/NCLogout.jsp";
private final String NLS_ERROR_URL = NLS_URL + ":" + NLS_PORT + "/nls3/error.jsp";
private final String NLS_URL;
private final String NLS_PORT;
private final String NLS_LOGIN_URL;
private final String NLS_LOGOUT_URL;
private final String NLS_ERROR_URL;
/***[SSO ND LIST 운영]**]***********************************************************************/
private final static String ND_URL1 = "http://sso.kjbank.com:5480";
@@ -45,7 +45,7 @@ public class KjbSsoModule {
// 인증 타입 (ID/PW 방식 : 1, 인증서 : 3)
private final String TOA = "1";
private final String PROVIDER_DOMAIN = "sso.kjbank.com";
private final String PROVIDER_DOMAIN;
private final String SSO_DOMAIN = ".kjbank.com";
private final String COOKIE_PADDING = "_V42";
@@ -65,12 +65,23 @@ public class KjbSsoModule {
context = new NXContext(Collections.singletonList(ND_URL1), timeout);
ascpUrl = prop.getUrl() + prop.getSsoAscpUri();
NLS_URL = "http://" + prop.getSsoDomain();
NLS_PORT = String.valueOf(prop.getSsoNlsPort());
NLS_LOGIN_URL = NLS_URL + ":" + NLS_PORT + "/nls3/clientLogin.jsp";
NLS_LOGOUT_URL = NLS_URL + ":" + NLS_PORT + "/nls3/NCLogout.jsp";
NLS_ERROR_URL = NLS_URL + ":" + NLS_PORT + "/nls3/error.jsp";
PROVIDER_DOMAIN = prop.getSsoDomain();
this.providerList = new Vector<>();
providerList.add(PROVIDER_DOMAIN);
CookieManager.setEncStatus(true);
SECode.setCookiePadding(COOKIE_PADDING);
log.debug("KjbProperty : {}", prop.toString());
}
@@ -222,7 +233,7 @@ public class KjbSsoModule {
String userInfo = "";
try{
try {
Properties propt = getUserInfos(userid);
userInfo = propt.getProperty(key);
} catch (Exception e) {