]> git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.webapp.war/WEB-INF/web.xml
Remove old transition files
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.webapp.war / WEB-INF / web.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
4 version="2.5">
5
6 <display-name>SLC Web Application</display-name>
7
8 <!-- SERVICE servlet -->
9 <servlet>
10 <servlet-name>slc-service</servlet-name>
11 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
12 <init-param>
13 <param-name>contextClass</param-name>
14 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
15 </init-param>
16 <load-on-startup>1</load-on-startup>
17 </servlet>
18 <servlet-mapping>
19 <servlet-name>slc-service</servlet-name>
20 <url-pattern>*.service</url-pattern>
21 </servlet-mapping>
22
23 <!-- XSLT servlet -->
24 <servlet>
25 <servlet-name>xslt</servlet-name>
26 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
27 <init-param>
28 <param-name>contextClass</param-name>
29 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
30 </init-param>
31 </servlet>
32
33 <servlet-mapping>
34 <servlet-name>xslt</servlet-name>
35 <url-pattern>*.xslt</url-pattern>
36 </servlet-mapping>
37
38 <!-- DOC servlet -->
39 <servlet>
40 <servlet-name>doc</servlet-name>
41 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
42 <init-param>
43 <param-name>contextClass</param-name>
44 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
45 </init-param>
46 </servlet>
47
48 <servlet-mapping>
49 <servlet-name>doc</servlet-name>
50 <url-pattern>*.xls</url-pattern>
51 </servlet-mapping>
52 <servlet-mapping>
53 <servlet-name>doc</servlet-name>
54 <url-pattern>*.pdf</url-pattern>
55 </servlet-mapping>
56
57 <!-- PROVISIONING servlet -->
58 <servlet>
59 <servlet-name>provisioning</servlet-name>
60 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
61 <init-param>
62 <param-name>contextClass</param-name>
63 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
64 </init-param>
65 <load-on-startup>1</load-on-startup>
66 </servlet>
67 <servlet-mapping>
68 <servlet-name>provisioning</servlet-name>
69 <url-pattern>/dist/*</url-pattern>
70 </servlet-mapping>
71
72 <!-- JCR servlet -->
73 <servlet>
74 <servlet-name>jcr</servlet-name>
75 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
76 <init-param>
77 <param-name>contextClass</param-name>
78 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
79 </init-param>
80 <load-on-startup>1</load-on-startup>
81 </servlet>
82 <servlet-mapping>
83 <servlet-name>jcr</servlet-name>
84 <url-pattern>*.jcr</url-pattern>
85 </servlet-mapping>
86
87 <!-- General -->
88 <context-param>
89 <param-name>contextConfigLocation</param-name>
90 <param-value>/WEB-INF/applicationContext.xml</param-value>
91 </context-param>
92
93 <listener>
94 <display-name>Spring Context</display-name>
95 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
96 </listener>
97 <context-param>
98 <param-name>contextClass</param-name>
99 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
100 </context-param>
101
102 <!-- Security -->
103 <filter>
104 <filter-name>springSecurityFilterChain</filter-name>
105 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
106 </filter>
107
108 <filter-mapping>
109 <filter-name>springSecurityFilterChain</filter-name>
110 <url-pattern>/*</url-pattern>
111 </filter-mapping>
112
113 <context-param>
114 <param-name>argeo.security.systemKey</param-name>
115 <param-value>argeo</param-value>
116 </context-param>
117 </web-app>