OpenDaylight Controller functional modules.
[controller.git] / opendaylight / web / root / src / main / resources / WEB-INF / web.xml
diff --git a/opendaylight/web/root/src/main/resources/WEB-INF/web.xml b/opendaylight/web/root/src/main/resources/WEB-INF/web.xml
new file mode 100644 (file)
index 0000000..6c8a560
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+       version="2.4">
+
+       <context-param>
+               <param-name>contextConfigLocation</param-name>
+               <param-value>/WEB-INF/spring/*.xml</param-value>
+       </context-param>
+
+       <listener>
+               <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+       </listener>
+
+       <servlet>
+               <servlet-name>RootGUI</servlet-name>
+               <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
+               <load-on-startup>1</load-on-startup>
+       </servlet>
+
+       <servlet-mapping>
+               <servlet-name>RootGUI</servlet-name>
+               <url-pattern>/</url-pattern>
+       </servlet-mapping>
+
+       <filter>
+               <filter-name>springSecurityFilterChain</filter-name>
+               <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
+       </filter>
+
+       <filter-mapping>
+               <filter-name>springSecurityFilterChain</filter-name>
+               <url-pattern>/*</url-pattern>
+       </filter-mapping>
+
+       <display-name>Cisco ONE Controller</display-name>
+       <description>Cisco ONE Controller</description>
+
+       <listener>
+               <listener-class>org.opendaylight.controller.web.ControllerUISessionManager</listener-class>
+       </listener>
+
+</web-app>