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"
6 <display-name>Argeo OSGi Webapp
</display-name>
10 <param-name>contextConfigLocation
</param-name>
11 <param-value>/WEB-INF/applicationContext.xml
</param-value>
15 <display-name>Spring Context
</display-name>
16 <listener-class>org.springframework.web.context.ContextLoaderListener
</listener-class>
19 <param-name>contextClass
</param-name>
20 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
</param-value>
23 <!-- OSGi Http Service -->
25 <servlet-name>service
</servlet-name>
26 <servlet-class>org.springframework.web.servlet.DispatcherServlet
</servlet-class>
28 <param-name>contextClass
</param-name>
29 <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext
</param-value>
31 <load-on-startup>1</load-on-startup>
35 <servlet-name>service
</servlet-name>
36 <url-pattern>/*
</url-pattern>
41 <filter-name>springSecurityFilterChain
</filter-name>
42 <filter-class>org.springframework.web.filter.DelegatingFilterProxy
</filter-class>
46 <filter-name>springSecurityFilterChain
</filter-name>
47 <url-pattern>/private
</url-pattern>
50 <filter-name>springSecurityFilterChain
</filter-name>
51 <url-pattern>/basicauth
</url-pattern>
54 <filter-name>springSecurityFilterChain
</filter-name>
55 <url-pattern>/clientauth
</url-pattern>
58 <filter-name>springSecurityFilterChain
</filter-name>
59 <url-pattern>/none
</url-pattern>
62 <filter-name>springSecurityFilterChain
</filter-name>
63 <url-pattern>/public
</url-pattern>