OpenDaylight Controller functional modules.
[controller.git] / opendaylight / web / devices / src / main / resources / WEB-INF / web.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
4 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
5         version="2.4">
6
7         <context-param>
8                 <param-name>contextConfigLocation</param-name>
9                 <param-value>/WEB-INF/spring/*.xml</param-value>
10         </context-param>
11
12         <listener>
13                 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
14         </listener>
15
16         <servlet>
17                 <servlet-name>Devices</servlet-name>
18                 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
19                 <load-on-startup>1</load-on-startup>
20         </servlet>
21
22         <servlet-mapping>
23                 <servlet-name>Devices</servlet-name>
24                 <url-pattern>/</url-pattern>
25         </servlet-mapping>
26
27         <filter>
28                 <filter-name>springSecurityFilterChain</filter-name>
29                 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
30         </filter>
31
32         <filter-mapping>
33                 <filter-name>springSecurityFilterChain</filter-name>
34                 <url-pattern>/*</url-pattern>
35         </filter-mapping>
36
37         <listener>
38                 <listener-class>org.opendaylight.controller.web.ControllerUISessionManager</listener-class>
39         </listener>
40 </web-app>