added client scope injection

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@134101 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-11-11 17:36:09 +00:00
parent f7d01c61af
commit e1dbad90dd
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public class SmartGearsPortalValve extends ValveBase {
SecurityTokenProvider.instance.reset();
ScopeProvider.instance.reset();
AuthorizationProvider.instance.reset();
_log.trace("SmartGearsPortalValve SecurityTokenProvider and AuthorizationProvider reset OK");
//_log.trace("SmartGearsPortalValve SecurityTokenProvider and AuthorizationProvider reset OK");
if (req instanceof HttpServletRequest) {
HttpServletRequest request = (HttpServletRequest) req;
PortalContext context = PortalContext.getConfiguration();
@ -53,7 +53,7 @@ public class SmartGearsPortalValve extends ValveBase {
_log.error("Something went wrong in generating token for " + username + " in scope " + scope);
e.printStackTrace();
}
_log.trace("Security token set OK for " + username + " in scope " + scope);
//_log.trace("Security token set OK for " + username + " in scope " + scope);
}
}
getNext().invoke(req, resp);