You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2011/05/11 17:22:17 UTC

svn commit: r1101919 - in /portals/jetspeed-2: applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml

Author: ate
Date: Wed May 11 15:22:16 2011
New Revision: 1101919

URL: http://svn.apache.org/viewvc?rev=1101919&view=rev
Log:
JS2-1253: enable generic ServletRequestCleanupService through dedicated filter

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml?rev=1101919&r1=1101918&r2=1101919&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/web.xml Wed May 11 15:22:16 2011
@@ -41,6 +41,11 @@
   </context-param>
 
   <filter>
+    <filter-name>ServletRequestCleanupFilter</filter-name>
+    <filter-class>org.apache.jetspeed.util.ServletRequestCleanupFilter</filter-class>
+  </filter>
+  
+  <filter>
     <filter-name>JetspeedPrincipalManagementPortlet</filter-name>
     <filter-class>org.apache.jetspeed.portlets.wicket.JetspeedContextAwareWicketFilter</filter-class>
     <init-param>
@@ -122,6 +127,11 @@
   </filter>
 
   <filter-mapping>
+    <filter-name>ServletRequestCleanupFilter</filter-name>
+    <url-pattern>/*</url-pattern>
+  </filter-mapping>    
+  
+  <filter-mapping>
     <filter-name>PortalSiteManagerApplication</filter-name>
     <url-pattern>/portalSiteManager/*</url-pattern>
     <dispatcher>REQUEST</dispatcher>

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml?rev=1101919&r1=1101918&r2=1101919&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml (original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/WEB-INF/web.xml Wed May 11 15:22:16 2011
@@ -31,6 +31,11 @@ limitations under the License.
   </context-param>
 
   <filter>
+    <filter-name>ServletRequestCleanupFilter</filter-name>
+    <filter-class>org.apache.jetspeed.util.ServletRequestCleanupFilter</filter-class>
+  </filter>
+  
+  <filter>
     <filter-name>XXSUrlAttackFilter</filter-name>
     <filter-class>org.apache.jetspeed.engine.servlet.XXSUrlAttackFilter</filter-class>
   </filter>
@@ -63,6 +68,11 @@ limitations under the License.
   -->
 
   <filter-mapping>
+    <filter-name>ServletRequestCleanupFilter</filter-name>
+    <url-pattern>/*</url-pattern>
+  </filter-mapping>    
+  
+  <filter-mapping>
     <filter-name>XXSUrlAttackFilter</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>    



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org