Added CorsFilter to enable secure cross site scripting
[controller.git] / opendaylight / northbound / switchmanager / pom.xml
index 556c964055b2c335d80f57e90839b0adabf48a62..dd7ff9a75b45bf2fe1b42ec2d68e3a99ffe8e2fa 100644 (file)
@@ -51,6 +51,7 @@
               javax.xml.bind.annotation,
               javax.xml.bind,
               org.slf4j,
+              org.apache.catalina.filters,
               !org.codehaus.enunciate.jaxrs
             </Import-Package>
             <Web-ContextPath>/controller/nb/v2/switch</Web-ContextPath>
       <artifactId>enunciate-core-annotations</artifactId>
       <version>${enunciate.version}</version>
     </dependency>
-
+    <dependency>
+      <groupId>org.opendaylight.controller.thirdparty</groupId>
+      <artifactId>org.apache.catalina.filters.CorsFilter</artifactId>
+      <version>7.0.42-SNAPSHOT</version>
+    </dependency>
   </dependencies>
 </project>