[ 
https://issues.apache.org/jira/browse/MARMOTTA-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Kurz resolved MARMOTTA-195.
----------------------------------

    Resolution: Fixed

Fixed by using existing implementation of CORS service. Marmotta Implementation 
for CORS support has been deleted. For external projects that build on top of 
Marmotta, this triggers some change requests:

1. Add dependency to your pom.xml
==========================

           <!-- CORS filter -->

           <dependency>

               <groupId>com.thetransactioncompany</groupId>

               <artifactId>cors-filter</artifactId>

               <version>1.5.1</version>

           </dependency>


2. Remove Options filter from web.xml
============================
Just remove ;)


3. Add cors filter to web.xml
=====================

   <!-- enables a cors filter and maps it to any request -->

   <!-- for more fine grained configuration have a look at 
http://software.dzhuvinov.com/cors-filter-configuration.html -->

   <filter>

       <filter-name>CORS</filter-name>

       <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class>

   </filter>

   <filter-mapping>

       <filter-name>CORS</filter-name>

       <url-pattern>/*</url-pattern>

   </filter-mapping>


                
> CORS does not work properly
> ---------------------------
>
>                 Key: MARMOTTA-195
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-195
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Web Services
>            Reporter: Thomas Kurz
>            Assignee: Thomas Kurz
>
> Implementing OPTIONS Filter for CORS is not sufficient.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to