2 ~ Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 ~ This program and the accompanying materials are made available under the
5 ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 ~ and is available at http://www.eclipse.org/legal/epl-v10.html
11 <filter-name>CorsFilter</filter-name>
12 <filter-class>org.opendaylight.controller.filtervalve.cors.jaxb.MockedFilter</filter-class>
14 <param-name>cors.preflight.maxage</param-name>
15 <param-value>10</param-value>
18 <param-name>cors.allowed.origins</param-name>
19 <param-value>*</param-value>
23 <Context path="/restconf">
25 <filter-name>CorsFilter</filter-name>
27 <filter-class>org.opendaylight.controller.filtervalve.cors.jaxb.DummyFilter</filter-class>
30 <filter-name>CorsFilter</filter-name>
31 <url-pattern>/*</url-pattern>