You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Hiram Chirino (Commented) (JIRA)" <ji...@apache.org> on 2012/04/12 13:47:18 UTC

[jira] [Commented] (APLO-188) Support allowing cross origin resource sharing (CORS) of web admin APIs

    [ https://issues.apache.org/jira/browse/APLO-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252349#comment-13252349 ] 

Hiram Chirino commented on APLO-188:
------------------------------------

This is already implemented in the current SNAPSHOT build.  For details on how to enable CORS see:
http://activemq.apache.org/apollo/versions/99-trunk-SNAPSHOT/website/documentation/user-manual.html#Web_Based_Administration

                
> Support allowing cross origin resource sharing (CORS) of web admin APIs
> -----------------------------------------------------------------------
>
>                 Key: APLO-188
>                 URL: https://issues.apache.org/jira/browse/APLO-188
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-web
>    Affects Versions: 1.2
>         Environment: Debian Wheezy
>            Reporter: Torben Fitschen
>
> Request header field Authorization is not allowed by Access-Control-Allow-Headers.
> --------------------------------------------------------------------------------
> Request Headers:
> OPTIONS /broker.json HTTP/1.1
> Host: 192.168.1.2:61680
> Connection: keep-alive
> Cache-Control: max-age=0
> Access-Control-Request-Method: GET
> Origin: http://192.168.1.1
> Pragma: no-cache
> Access-Control-Request-Headers: origin, authorization, accept
> Accept: */*
> --------------------------------------------------------------------------------
> Required Response Headers:
> Access-Control-Allow-Origin
> Access-Control-Allow-Methods
> Access-Control-Allow-Headers
> --------------------------------------------------------------------------------
> http://www.html5rocks.com/en/tutorials/cors/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira