]> git.argeo.org Git - lgpl/argeo-commons.git/blob - security/modules/org.argeo.security.webapp/WEB-INF/web.xml
[maven-release-plugin] prepare release argeo-commons-2.1.2.tp
[lgpl/argeo-commons.git] / security / modules / org.argeo.security.webapp / 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>Argeo Security Web Application</display-name>
7
8 <!-- SECURITY servlet -->
9 <servlet>
10 <servlet-name>security</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>security</servlet-name>
20 <url-pattern>*.security</url-pattern>
21 </servlet-mapping>
22 <servlet-mapping>
23 <servlet-name>security</servlet-name>
24 <url-pattern>*.ria</url-pattern>
25 </servlet-mapping>
26
27 <!-- General -->
28 <context-param>
29 <param-name>contextConfigLocation</param-name>
30 <param-value>/WEB-INF/applicationContext.xml</param-value>
31 </context-param>
32
33 <listener>
34 <display-name>Spring Context</display-name>
35 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
36 </listener>
37 <context-param>
38 <param-name>contextClass</param-name>
39 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
40 </context-param>
41
42 <!-- Security -->
43 <filter>
44 <filter-name>springSecurityFilterChain</filter-name>
45 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
46 </filter>
47
48 <filter-mapping>
49 <filter-name>springSecurityFilterChain</filter-name>
50 <url-pattern>/*</url-pattern>
51 </filter-mapping>
52
53 <context-param>
54 <param-name>argeo.security.systemKey</param-name>
55 <param-value>argeo</param-value>
56 </context-param>
57 </web-app>