X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fresources%2FWEB-INF%2Fweb.xml;h=120a826b32a863b850ee634b563b6bcffe0bc017;hb=4d1c09942cf82edb9849f0750bebdfdd69f22ea5;hp=f39eae45424941355b2d9a7291d62eea744048a4;hpb=48814d6a264b8f13e5db1422336d9ef25cb05fa9;p=controller.git
diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml b/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml
index f39eae4542..120a826b32 100644
--- a/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml
+++ b/opendaylight/md-sal/sal-rest-connector/src/main/resources/WEB-INF/web.xml
@@ -10,6 +10,11 @@
javax.ws.rs.Application
org.opendaylight.controller.sal.rest.impl.RestconfApplication
+
+
+ com.sun.jersey.spi.container.ContainerRequestFilters
+ org.opendaylight.aaa.sts.TokenAuthFilter
+
1
@@ -18,6 +23,27 @@
/*
+
+ cross-origin-restconf
+ org.eclipse.jetty.servlets.CrossOriginFilter
+
+ allowedOrigins
+ *
+
+
+ allowedMethods
+ GET,POST,OPTIONS,DELETE,PUT,HEAD
+
+
+ allowedHeaders
+ origin, content-type, accept, authorization
+
+
+
+ cross-origin-restconf
+ /*
+
+
NB api