kjb property update
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user