=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/META-INF/dhis/servlet.xml' --- dhis-2/dhis-web/dhis-web-api/src/main/resources/META-INF/dhis/servlet.xml 2015-06-21 12:44:37 +0000 +++ dhis-2/dhis-web/dhis-web-api/src/main/resources/META-INF/dhis/servlet.xml 2015-06-22 10:11:42 +0000 @@ -3,11 +3,11 @@ xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" - xmlns:sec="http://www.springframework.org/schema/security" xmlns:oauth="http://www.springframework.org/schema/security/oauth2" + xmlns:sec="http://www.springframework.org/schema/security" xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd - http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd http://www.springframework.org/schema/security/oauth2 http://www.springframework.org/schema/security/spring-security-oauth2.xsd"> + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd"> @@ -135,16 +135,5 @@ - - - - - - - - - - - === modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml' --- dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml 2015-06-21 12:44:37 +0000 +++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml 2015-06-22 10:11:42 +0000 @@ -18,8 +18,8 @@ - - + + === modified file 'dhis-2/dhis-web/dhis-web-ohie/src/main/java/org/hisp/dhis/web/ohie/csd/webapi/CsdController.java' --- dhis-2/dhis-web/dhis-web-ohie/src/main/java/org/hisp/dhis/web/ohie/csd/webapi/CsdController.java 2015-01-17 07:41:26 +0000 +++ dhis-2/dhis-web/dhis-web-ohie/src/main/java/org/hisp/dhis/web/ohie/csd/webapi/CsdController.java 2015-06-22 10:11:42 +0000 @@ -89,7 +89,6 @@ @RequestMapping(value = "/csd") public class CsdController { - private static final String SOAP_CONTENT_TYPE = "application/soap+xml"; // Name of group all facilities belong to === modified file 'dhis-2/dhis-web/dhis-web-portal/pom.xml' --- dhis-2/dhis-web/dhis-web-portal/pom.xml 2015-06-11 18:44:52 +0000 +++ dhis-2/dhis-web/dhis-web-portal/pom.xml 2015-06-22 10:11:42 +0000 @@ -56,6 +56,12 @@ ${project.version} war + + org.hisp.dhis + dhis-web-uaa + ${project.version} + war + === modified file 'dhis-2/dhis-web/dhis-web-portal/src/main/webapp/WEB-INF/web.xml' --- dhis-2/dhis-web/dhis-web-portal/src/main/webapp/WEB-INF/web.xml 2015-02-26 08:12:03 +0000 +++ dhis-2/dhis-web/dhis-web-portal/src/main/webapp/WEB-INF/web.xml 2015-06-22 10:11:42 +0000 @@ -93,6 +93,14 @@ /ohie/* + hiddenHttpMethodFilter + /uaa/* + + + OpenSessionInViewFilter + /uaa/* + + OpenSessionInViewFilter /mobile/* @@ -136,8 +144,9 @@ 1 + - ohie + ohieServlet org.springframework.web.servlet.DispatcherServlet contextConfigLocation @@ -146,6 +155,16 @@ 1 + + uaaServlet + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + classpath*:/META-INF/dhis/webapi-uaa.xml + + 1 + + mobile /mobile @@ -163,12 +182,20 @@ /api/* - ohie + ohieServlet /ohie - ohie + ohieServlet /ohie/* + + uaaServlet + /uaa + + + uaaServlet + /uaa/* + === added directory 'dhis-2/dhis-web/dhis-web-uaa' === added file 'dhis-2/dhis-web/dhis-web-uaa/pom.xml' --- dhis-2/dhis-web/dhis-web-uaa/pom.xml 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-uaa/pom.xml 2015-06-22 10:11:42 +0000 @@ -0,0 +1,62 @@ + + 4.0.0 + + + org.hisp.dhis + dhis-web + 2.20-SNAPSHOT + + + dhis-web-uaa + war + User Account and Authentication (UAA) Server + + + dhis-web-uaa + + + + + org.hisp.dhis + dhis-web-commons + + + org.hisp.dhis + dhis-web-commons-resources + war + true + + + org.hisp.dhis + dhis-web-api + true + + + + org.springframework + spring-web + + + org.springframework + spring-webmvc + + + org.springframework + spring-context + + + org.springframework + spring-context-support + + + + javax.servlet + servlet-api + + + + + ../../ + + === added directory 'dhis-2/dhis-web/dhis-web-uaa/src' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/java' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/java/org' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/java/org/hisp' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/java/org/hisp/dhis' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/java/org/hisp/dhis/web' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/java/org/hisp/dhis/web/uaa' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/java/org/hisp/dhis/web/uaa/oauth2' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/resources' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF/dhis' === added file 'dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF/dhis/beans.xml' --- dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF/dhis/beans.xml 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF/dhis/beans.xml 2015-06-22 10:11:42 +0000 @@ -0,0 +1,7 @@ + + + + === added file 'dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF/dhis/webapi-uaa.xml' --- dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF/dhis/webapi-uaa.xml 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-uaa/src/main/resources/META-INF/dhis/webapi-uaa.xml 2015-06-22 10:11:42 +0000 @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + === added file 'dhis-2/dhis-web/dhis-web-uaa/src/main/resources/struts.xml' --- dhis-2/dhis-web/dhis-web-uaa/src/main/resources/struts.xml 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-uaa/src/main/resources/struts.xml 2015-06-22 10:11:42 +0000 @@ -0,0 +1,11 @@ + + + + + + + + + === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/webapp' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/classes' === added file 'dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/classes/velocity.properties' --- dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/classes/velocity.properties 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/classes/velocity.properties 2015-06-22 10:11:42 +0000 @@ -0,0 +1,3 @@ +resource.loader = dev +dev.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader +dev.resource.loader.path = src/main/webapp,../dhis-web-commons-resources/src/main/webapp \ No newline at end of file === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/uaa' === added file 'dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/web.xml' --- dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/web.xml 1970-01-01 00:00:00 +0000 +++ dhis-2/dhis-web/dhis-web-uaa/src/main/webapp/WEB-INF/web.xml 2015-06-22 10:11:42 +0000 @@ -0,0 +1,106 @@ + + + + User Account and Authentication (UAA) Server + + + contextConfigLocation + classpath*:/META-INF/dhis/beans.xml + + + + OpenSessionInViewFilter + org.springframework.orm.hibernate4.support.OpenSessionInViewFilter + + + springSecurityFilterChain + org.springframework.web.filter.DelegatingFilterProxy + + + Struts + org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter + + + encodingFilter + org.springframework.web.filter.CharacterEncodingFilter + + encoding + UTF-8 + + + forceEncoding + true + + + + + encodingFilter + /* + + + OpenSessionInViewFilter + *.action + + + OpenSessionInViewFilter + /api/* + + + springSecurityFilterChain + /* + + + Struts + *.action + + + + org.springframework.web.context.ContextLoaderListener + + + + org.hisp.dhis.system.startup.StartupListener + + + + uaaServlet + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + classpath*:/META-INF/dhis/webapi-uaa.xml + + 1 + + + + webapiServlet + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + classpath*:/META-INF/dhis/servlet.xml + + 1 + + + + + + uaaServlet + /uaa + + + uaaServlet + /uaa/* + + + + webapiServlet + /api + + + webapiServlet + /api/* + + + === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/test' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/test/java' === added directory 'dhis-2/dhis-web/dhis-web-uaa/src/test/resources' === modified file 'dhis-2/dhis-web/pom.xml' --- dhis-2/dhis-web/pom.xml 2015-06-02 05:55:14 +0000 +++ dhis-2/dhis-web/pom.xml 2015-06-22 10:11:42 +0000 @@ -17,6 +17,7 @@ dhis-web-api-mobile dhis-web-api dhis-web-ohie + dhis-web-uaa dhis-web-maintenance dhis-web-dataentry dhis-web-importexport