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:
parent
082332da5d
commit
7d482444cc
8
pom.xml
8
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue