AdamBien / cors

CORS Support For JAX-RS 2.0 / JavaEE 7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work out-of-the-box, configuration is necessary

rrohm opened this issue · comments

I am using Payara 5.184 for REST services, and it seems that the CORS filter is not applied without configuration, as the readme.md says. After adding the CorsResponseFilter.class as a REST resource in the ApplicationConfig, it works. Did I get something wrong? Or maybe the readme.md should get amended with a hint on this.