ported to tomcat catalina 7

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portal/threadlocal-vars-cleaner@129332 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-06-23 10:14:31 +00:00
parent 082332da5d
commit 7d482444cc
2 changed files with 4 additions and 6 deletions

View File

@ -10,7 +10,7 @@
<groupId>org.gcube.portal</groupId>
<artifactId>threadlocal-vars-cleaner</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>threadlocal-vars-cleaner</name>
@ -18,7 +18,6 @@
<description>This component clean the Smartgears ThreadLocal variables each time a new Thread is assigned to a request from tomcat thread pool</description>
<properties>
<java-version>1.7</java-version>
<liferay-version>6.0.6</liferay-version>
<distroDirectory>${project.basedir}/distro</distroDirectory>
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
<distroDirectory>distro</distroDirectory>
@ -45,9 +44,8 @@
<dependencies>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>catalina</artifactId>
<version>6.0.29</version>
<scope>provided</scope>
<artifactId>tomcat-catalina</artifactId>
<version>7.0.57</version>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>

View File

@ -27,7 +27,7 @@ public class SmartGearsPortalValve extends ValveBase {
ScopeProvider.instance.reset();
AuthorizationProvider.instance.reset();
getNext().invoke(req, resp);
//_log.trace("SmartGearsPortalValve SecurityTokenProvider and AuthorizationProvider reset OK");
// _log.trace("SmartGearsPortalValve SecurityTokenProvider and AuthorizationProvider reset OK");
}
}