Porting to master repo of the changes that seems to resolves issues related to ticket #20445 #6

Merged
massimiliano.assante merged 4 commits from mauro.mugnaini/threadlocal-vars-cleaner:master into master 2021-01-20 12:35:52 +01:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit f5479d8f58 - Show all commits

View File

@ -180,12 +180,11 @@ public class SmartGearsPortalValve extends ValveBase {
JWTToken authToken = JWTCacheProxy.getInstance().getOIDCToken(user, sessionId);
if (authToken == null) {
_log.info("OIDC token is null also in cache proxy");
if (FORCE_LOGOUT_ON_MISSING_OIDC) {
_log.warn("OIDC token is null also in cache proxy, force redirecting to logut URI");
_log.warn("OIDC token is null in cache proxy, force redirecting to logut URI");
forceLogout(response);
} else {
_log.error("OIDC token is null also in cache proxy, cannot continue!");
_log.error("OIDC token is null in cache proxy, cannot continue!");
}
return;
}