continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r419053 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml
Date Tue, 04 Jul 2006 17:40:44 GMT
Author: carlos
Date: Tue Jul  4 10:40:43 2006
New Revision: 419053

URL: http://svn.apache.org/viewvc?rev=419053&view=rev
Log:
Use plexus IoC instead of Spring for Acegi

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml?rev=419053&r1=419052&r2=419053&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml
Tue Jul  4 10:40:43 2006
@@ -18,32 +18,21 @@
     <param-value>localization/Continuum</param-value>
   </context-param>
 
-  <!--
-    - Location of the XML file that defines the root application context
-    - Applied by ContextLoaderListener.
-    -->
-  <context-param>
-    <param-name>contextConfigLocation</param-name>
-    <param-value>
-      /WEB-INF/applicationContext-acegi-security.xml
-    </param-value>
-  </context-param>
+  <!-- this should be before the webwork filter -->
+  <filter>
+    <filter-name>plexus</filter-name>
+    <filter-class>org.codehaus.plexus.xwork.PlexusFilter</filter-class>
+  </filter>
 
   <filter>
     <filter-name>Acegi Filter Chain Proxy</filter-name>
-    <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
+    <filter-class>org.apache.maven.continuum.web.filter.FilterToComponentProxy</filter-class>
     <init-param>
-      <param-name>targetClass</param-name>
+      <param-name>component</param-name>
       <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
     </init-param>
   </filter>
 
-  <!-- this should be before the webwork filter -->
-  <filter>
-    <filter-name>plexus</filter-name>
-    <filter-class>org.codehaus.plexus.xwork.PlexusFilter</filter-class>
-  </filter>
-
   <filter>
     <filter-name>webwork-cleanup</filter-name>
     <filter-class>com.opensymphony.webwork.dispatcher.ActionContextCleanUp</filter-class>
@@ -59,14 +48,14 @@
     <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class>
   </filter>
 
+  <!-- this should be before the webwork filter -->
   <filter-mapping>
-    <filter-name>Acegi Filter Chain Proxy</filter-name>
+    <filter-name>plexus</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>
 
-  <!-- this should be before the webwork filter -->
   <filter-mapping>
-    <filter-name>plexus</filter-name>
+    <filter-name>Acegi Filter Chain Proxy</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>
 
@@ -84,15 +73,6 @@
     <filter-name>webwork</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>
-
-  <!--
-    - Loads the root application context of this web app at startup.
-    - The application context is then available via 
-    - WebApplicationContextUtils.getWebApplicationContext(servletContext).
-    -->
-  <listener>
-    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
-  </listener>
 
   <listener>
     <listener-class>org.codehaus.plexus.xwork.PlexusLifecycleListener</listener-class>



Mime
View raw message