Re: CORS

2011-11-11 Thread Sergey Beryozkin
On 11/11/11 01:30, sergkorney wrote: Let start from adding JAX-RS CORS filter. I think mostly CORS support is really needed for RESTful services. I'm new to CXF but have some experience with using CORS filter mentioned here http://software.dzhuvinov.com/cors-filter.html http://software.dzhuvinov

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-11 Thread Sergey Beryozkin
Hi, how is your demo going, hope I haven't discouraged with my comments :-) Sergey On 19/10/11 10:28, Sergey Beryozkin wrote: By the way, at the next stage we can also probably create the Activator part in the jaxrs fronentend/osgi - this can be optionally enabled and what it will do it will p

Re: CORS

2011-11-11 Thread sergkorney
Thank you very much for the hint. I have added initial draft to support handling authenticated CORS requests for GET methods. And it works just fine (with cxf 2.5.0). Here is jaxrs input filter : public class JaxrsCorsInputFilter implements RequestHandler { final static String HEADER_ORIG

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-11 Thread K Fung
Hi Sergey, Nope, you haven't discouraged me :-) It was good feedback and I'm taking it in for my next round of revision. Unfortunately, I haven't had a lot of time to put into it but I should be able to make another pass at it toward the end of November. I'm keen on continuing to work on this as

Re: CORS

2011-11-11 Thread K Fung
Hello, Are there any plans to expand this code so that covers both 5.1 and 5.2 of the CORS specification (http://www.w3.org/TR/cors?) In particular, - Not blocking the request of it's an OPTIONS request but doesn't contain the Origin header - What if the request doesn't contain OPTIONS but does c