← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13037: Removed spring security config from web.xml in web api, makes it possible to run web api as web m...

 

------------------------------------------------------------
revno: 13037
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-11-27 18:14:16 +0100
message:
  Removed spring security config from web.xml in web api, makes it possible to run web api as web module, good for short debug cycles.
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/webapp/WEB-INF/web.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/webapp/WEB-INF/web.xml'
--- dhis-2/dhis-web/dhis-web-api/src/main/webapp/WEB-INF/web.xml	2013-10-30 12:51:03 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/webapp/WEB-INF/web.xml	2013-11-27 17:14:16 +0000
@@ -14,10 +14,6 @@
         <filter-class>org.springframework.orm.hibernate4.support.OpenSessionInViewFilter</filter-class>
     </filter>
     <filter>
-        <filter-name>filterChainProxy</filter-name>
-        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
-    </filter>
-    <filter>
         <filter-name>encoding-filter</filter-name>
         <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
         <init-param>
@@ -38,10 +34,6 @@
         <filter-name>OpenSessionInViewFilter</filter-name>
         <url-pattern>/api/*</url-pattern>
     </filter-mapping>
-    <filter-mapping>
-        <filter-name>filterChainProxy</filter-name>
-        <url-pattern>/*</url-pattern>
-    </filter-mapping>
 
     <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>