Merge "Added move of branding jar to assembly"
[controller.git] / opendaylight / md-sal / sal-rest-connector / 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/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_3_0.xsd"
4     version="3.0">
5
6     <servlet>
7         <servlet-name>JAXRSRestconf</servlet-name>
8         <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
9         <init-param>
10             <param-name>javax.ws.rs.Application</param-name>
11             <param-value>org.opendaylight.controller.sal.rest.impl.RestconfApplication</param-value>
12         </init-param>
13         <load-on-startup>1</load-on-startup>
14     </servlet>
15
16     <servlet-mapping>
17         <servlet-name>JAXRSRestconf</servlet-name>
18         <url-pattern>/*</url-pattern>
19     </servlet-mapping>
20
21     <security-constraint>
22         <web-resource-collection>
23             <web-resource-name>NB api</web-resource-name>
24             <url-pattern>/*</url-pattern>
25             <http-method>POST</http-method>
26             <http-method>GET</http-method>
27             <http-method>PUT</http-method>
28             <http-method>PATCH</http-method>
29             <http-method>DELETE</http-method>
30             <http-method>HEAD</http-method>
31         </web-resource-collection>
32     </security-constraint>
33
34 </web-app>