[infinispan-issues] [JBoss JIRA] (ISPN-6864) Add support for CORS headers to REST server

Tristan Tarrant (JIRA) issues at jboss.org
Wed Mar 28 05:28:01 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-6864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant closed ISPN-6864.
---------------------------------
    Resolution: Duplicate Issue


> Add support for CORS headers to REST server
> -------------------------------------------
>
>                 Key: ISPN-6864
>                 URL: https://issues.jboss.org/browse/ISPN-6864
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Remote Protocols
>            Reporter: James Falkner
>            Priority: Minor
>
> Currently it is not possible to enable browser-based applications to call infinispan REST APIs due to the lack of [CORS|https://en.wikipedia.org/wiki/Cross-origin_resource_sharing] headers in the responses, and there is no way to alter the underlying web server to include these.
> This request asks that CORS headers be optionally returned in REST requests, and be configurable by admins. Specifically, the following headers:
> * Access-Control-Allow-Origin
> * Access-Control-Allow-Credentials
> * Access-Control-Expose-Headers
> * Access-Control-Max-Age
> * Access-Control-Allow-Methods
> * Access-Control-Allow-Headers
> This would enable browser-based apps to function when working across domains.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list