cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Palsulich <tpalsul...@gmail.com>
Subject Enabling CORS
Date Fri, 27 Mar 2015 20:17:53 GMT
Hi Folks,

I'm trying to enable CORS on a few of Tika's Server resources. But, after
adding the pom.xml dependency and a

    @CrossOriginResourceSharing(
        allowOrigins = {"url"}
    )

annotation to the resources, the Access-Control-Allow-Origin header is
still not given.

Is there another configuration I need to add? Tika's server doesn't
currently have a bean configuration like at the bottom of the examples page
<http://cxf.apache.org/docs/jax-rs-cors.html#JAX-RSCORS-Examples>.

Thanks for any help,
Tyler

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message