You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Sergey Beryozkin <sb...@gmail.com> on 2015/08/26 11:20:44 UTC
Re: cxf git commit: [CXF-6557] add a CORS filter for swagger2 samples
Hi Aki
Benson added CrossOriginResourceSharingFilter to CXF awhile back, it is
quite advanced, handles simple and pre-flight requests, can be
configured directly or it can check the annotations on the resource
methods.
Only FYI (in case you'll need to do more fine-grained CORS control),
having a simple custom CORS filter in a demo is perfect.
Thanks, Sergey
Re: cxf git commit: [CXF-6557] add a CORS filter for swagger2 samples
Posted by Aki Yoshida <el...@gmail.com>.
Hi Sergey,
yes. Thanks. I saw that. But that is in another dependency and I only
wanted to have "allow *" for these demos to be easily accessible, so I
opted for just adding a simple filter.
regards, aki
2015-08-26 11:20 GMT+02:00 Sergey Beryozkin <sb...@gmail.com>:
> Hi Aki
>
> Benson added CrossOriginResourceSharingFilter to CXF awhile back, it is
> quite advanced, handles simple and pre-flight requests, can be configured
> directly or it can check the annotations on the resource methods.
> Only FYI (in case you'll need to do more fine-grained CORS control), having
> a simple custom CORS filter in a demo is perfect.
>
> Thanks, Sergey