tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Configure JAX-RS CORS with TomEE
Date Tue, 04 Feb 2014 15:34:09 GMT
Hi Jon!

in openejb-jar.xml you can configure providers:

<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
  <pojo-deployment class-name="jaxrs-application">
    <properties>
      cxf.jaxrs.providers =
org.apache.cxf.rs.security.cors.CrossOriginResourceSharingFilter
    </properties>
  </pojo-deployment>
</openejb-jar>
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-02-04 Johnny Macnum <johnny_macnum@hotmail.com>:
> Hello,
>
> I would like to configure this functionality of CXF (http://cxf.apache.org/docs/jax-rs-cors.html).
How can I do that with TomEE 1.6 ?
>
> Regards,
>
> Jonathan
>

Mime
View raw message