sso update
This commit is contained in:
@@ -83,7 +83,7 @@ public class KjbSsoModule {
|
|||||||
PROVIDER_DOMAIN = prop.getSsoDomain();
|
PROVIDER_DOMAIN = prop.getSsoDomain();
|
||||||
|
|
||||||
this.providerList = new Vector<>();
|
this.providerList = new Vector<>();
|
||||||
providerList.add(PROVIDER_DOMAIN);
|
PROVIDER_LIST.add(prop.getSsoDomain());
|
||||||
|
|
||||||
context = new NXContext(Collections.singletonList(ND_URL1), timeout);
|
context = new NXContext(Collections.singletonList(ND_URL1), timeout);
|
||||||
CookieManager.setEncStatus(true);
|
CookieManager.setEncStatus(true);
|
||||||
@@ -109,7 +109,7 @@ public class KjbSsoModule {
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
e.printStackTrace();
|
log.warn("getContext", e);
|
||||||
}
|
}
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
@@ -183,7 +183,8 @@ public class KjbSsoModule {
|
|||||||
try {
|
try {
|
||||||
retCode = CookieManager.verifyNexessCookie(request, response, 10, COOKIE_SESSTION_TIME_OUT,PROVIDER_LIST);
|
retCode = CookieManager.verifyNexessCookie(request, response, 10, COOKIE_SESSTION_TIME_OUT,PROVIDER_LIST);
|
||||||
} catch(Exception npe) {
|
} catch(Exception npe) {
|
||||||
npe.printStackTrace();
|
log.warn("getEamSessionCheck", npe);
|
||||||
|
// npe.printStackTrace();
|
||||||
}
|
}
|
||||||
return retCode;
|
return retCode;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user