]> git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.webapp.war/WEB-INF/web.xml
finish cleaning of controllers :
[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 <!-- DOC servlet : Rendering result view -->
24 <servlet>
25 <servlet-name>doc</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>doc</servlet-name>
35 <url-pattern>*.xls</url-pattern>
36 </servlet-mapping>
37 <servlet-mapping>
38 <servlet-name>doc</servlet-name>
39 <url-pattern>*.pdf</url-pattern>
40 </servlet-mapping>
41 <servlet-mapping>
42 <servlet-name>doc</servlet-name>
43 <url-pattern>*.xslt</url-pattern>
44 </servlet-mapping>
45 <servlet-mapping>
46 <servlet-name>doc</servlet-name>
47 <url-pattern>*.xml</url-pattern>
48 </servlet-mapping>
49
50 <!-- PROVISIONING servlet -->
51 <servlet>
52 <servlet-name>provisioning</servlet-name>
53 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
54 <init-param>
55 <param-name>contextClass</param-name>
56 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
57 </init-param>
58 <load-on-startup>1</load-on-startup>
59 </servlet>
60 <servlet-mapping>
61 <servlet-name>provisioning</servlet-name>
62 <url-pattern>/dist/*</url-pattern>
63 </servlet-mapping>
64
65 <!-- JCR servlet -->
66 <servlet>
67 <servlet-name>jcr</servlet-name>
68 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
69 <init-param>
70 <param-name>contextClass</param-name>
71 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
72 </init-param>
73 <load-on-startup>1</load-on-startup>
74 </servlet>
75 <servlet-mapping>
76 <servlet-name>jcr</servlet-name>
77 <url-pattern>*.jcr</url-pattern>
78 </servlet-mapping>
79
80 <!-- WEBDAV servlet -->
81 <servlet>
82 <servlet-name>webdav</servlet-name>
83 <servlet-class>org.argeo.server.jackrabbit.webdav.ExtendedDispatcherServlet</servlet-class>
84 <init-param>
85 <param-name>contextClass</param-name>
86 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
87 </init-param>
88 <init-param>
89 <param-name>dispatchOptionsRequest</param-name>
90 <param-value>true</param-value>
91 </init-param>
92 <load-on-startup>1</load-on-startup>
93 </servlet>
94
95 <servlet-mapping>
96 <servlet-name>webdav</servlet-name>
97 <url-pattern>/default/*</url-pattern>
98 </servlet-mapping>
99
100 <!-- JCR-MANAGER servlet -->
101 <servlet>
102 <servlet-name>jcr-manager</servlet-name>
103 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
104 <init-param>
105 <param-name>contextClass</param-name>
106 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
107 </init-param>
108 <load-on-startup>1</load-on-startup>
109 </servlet>
110
111 <servlet-mapping>
112 <servlet-name>jcr-manager</servlet-name>
113 <url-pattern>/jcr-manager/*</url-pattern>
114 </servlet-mapping>
115
116 <!-- General -->
117 <context-param>
118 <param-name>contextConfigLocation</param-name>
119 <param-value>/WEB-INF/applicationContext.xml</param-value>
120 </context-param>
121
122 <listener>
123 <display-name>Spring Context</display-name>
124 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
125 </listener>
126 <context-param>
127 <param-name>contextClass</param-name>
128 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
129 </context-param>
130
131 <!-- Security -->
132 <filter>
133 <filter-name>springSecurityFilterChain</filter-name>
134 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
135 </filter>
136
137 <filter-mapping>
138 <filter-name>springSecurityFilterChain</filter-name>
139 <url-pattern>/*</url-pattern>
140 </filter-mapping>
141
142 <context-param>
143 <param-name>argeo.security.systemKey</param-name>
144 <param-value>argeo</param-value>
145 </context-param>
146 </web-app>