Pengfei Lu | e0c02e2 | 2015-07-07 15:41:31 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2015 Open Networking Laboratory |
| 4 | ~ Originally created by Pengfei Lu, Network and Cloud Computing Laboratory, Dalian University of Technology, China |
| 5 | ~ Advisers: Keqiu Li and Heng Qi |
| 6 | ~ This work is supported by the State Key Program of National Natural Science of China(Grant No. 61432002) |
| 7 | ~ and Prospective Research Project on Future Networks in Jiangsu Future Networks Innovation Institute. |
| 8 | ~ |
| 9 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | ~ you may not use this file except in compliance with the License. |
| 11 | ~ You may obtain a copy of the License at |
| 12 | ~ |
| 13 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | ~ |
| 15 | ~ Unless required by applicable law or agreed to in writing, software |
| 16 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | ~ See the License for the specific language governing permissions and |
| 19 | ~ limitations under the License. |
| 20 | --> |
| 21 | <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" |
| 22 | xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
| 23 | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
| 24 | id="ONOS" version="2.5"> |
| 25 | <display-name>ACL application</display-name> |
| 26 | |
| 27 | <servlet> |
| 28 | <servlet-name>JAX-RS Service</servlet-name> |
| 29 | <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> |
| 30 | <init-param> |
| 31 | <param-name>com.sun.jersey.config.property.resourceConfigClass</param-name> |
| 32 | <param-value>com.sun.jersey.api.core.ClassNamesResourceConfig</param-value> |
| 33 | </init-param> |
| 34 | <init-param> |
| 35 | <param-name>com.sun.jersey.config.property.classnames</param-name> |
Thomas Vachuska | 9bb3235 | 2015-09-25 11:31:22 -0700 | [diff] [blame] | 36 | <param-value>org.onosproject.acl.AclWebResource</param-value> |
Pengfei Lu | e0c02e2 | 2015-07-07 15:41:31 +0800 | [diff] [blame] | 37 | </init-param> |
| 38 | <load-on-startup>10</load-on-startup> |
| 39 | </servlet> |
| 40 | |
| 41 | <servlet-mapping> |
| 42 | <servlet-name>JAX-RS Service</servlet-name> |
| 43 | <url-pattern>/*</url-pattern> |
| 44 | </servlet-mapping> |
| 45 | |
| 46 | </web-app> |