OpenDaylight Controller functional modules.
[controller.git] / opendaylight / web / topology / 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
17         <servlet>
18                 <servlet-name>Topology</servlet-name>
19                 <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
20                 <load-on-startup>1</load-on-startup>
21         </servlet>
22
23         <servlet-mapping>
24                 <servlet-name>Topology</servlet-name>
25                 <url-pattern>/</url-pattern>
26         </servlet-mapping>
27
28         <filter>
29                 <filter-name>springSecurityFilterChain</filter-name>
30                 <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
31         </filter>
32
33         <filter-mapping>
34                 <filter-name>springSecurityFilterChain</filter-name>
35                 <url-pattern>/*</url-pattern>
36         </filter-mapping>
37
38         <listener>
39                 <listener-class>org.opendaylight.controller.web.ControllerUISessionManager</listener-class>
40         </listener>
41
42 </web-app>