sso update
This commit is contained in:
@@ -111,6 +111,10 @@ public class KjbProperty {
|
||||
@NotEmpty
|
||||
private String url = "https://manage-eapim.kjbank.com";
|
||||
|
||||
@KjbPropertyValue(key = "kjb.sso.service_name", defaultValue = "Web")
|
||||
@NotEmpty
|
||||
private String ssoServiceName = "Web";
|
||||
|
||||
@KjbPropertyValue(key = "kjb.sso.ascp_url", defaultValue = "/monitoring/sso/login.do")
|
||||
@NotEmpty
|
||||
private String ssoAscpUri = "/monitoring/sso/login.do";
|
||||
|
||||
@@ -30,7 +30,7 @@ public class KjbSsoModule {
|
||||
|
||||
|
||||
/***[SERVICE CONFIGURATION]***********************************************************************/
|
||||
private final String SERVICE_NAME = "eapim-admin";
|
||||
private final String SERVICE_NAME;
|
||||
@Getter
|
||||
private final String ascpUrl;
|
||||
|
||||
@@ -66,7 +66,8 @@ public class KjbSsoModule {
|
||||
this.prop = kjbProperty;
|
||||
|
||||
ascpUrl = prop.getUrl() + prop.getSsoAscpUri();
|
||||
|
||||
|
||||
SERVICE_NAME = prop.getSsoServiceName();
|
||||
NLS_URL = "http://" + prop.getSsoDomain();
|
||||
NLS_PORT = String.valueOf(prop.getSsoNlsPort());
|
||||
NLS_LOGIN_URL = NLS_URL + ":" + NLS_PORT + "/nls3/clientLogin.jsp";
|
||||
|
||||
Reference in New Issue
Block a user