qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lqu...@apache.org
Subject svn commit: r1752130 - in /qpid/java/trunk/doc/java-broker/src/docbkx/management: channels/Java-Broker-Management-Channel-REST-API.xml managing/Java-Broker-Management-Managing-Plugins-HTTP.xml
Date Mon, 11 Jul 2016 08:36:27 GMT
Author: lquack
Date: Mon Jul 11 08:36:27 2016
New Revision: 1752130

URL: http://svn.apache.org/viewvc?rev=1752130&view=rev
Log:
QPID-7300: [Java Broker, Documentation] documentation for Cross Origin Resource Sharing (CORS)

Modified:
    qpid/java/trunk/doc/java-broker/src/docbkx/management/channels/Java-Broker-Management-Channel-REST-API.xml
    qpid/java/trunk/doc/java-broker/src/docbkx/management/managing/Java-Broker-Management-Managing-Plugins-HTTP.xml

Modified: qpid/java/trunk/doc/java-broker/src/docbkx/management/channels/Java-Broker-Management-Channel-REST-API.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/doc/java-broker/src/docbkx/management/channels/Java-Broker-Management-Channel-REST-API.xml?rev=1752130&r1=1752129&r2=1752130&view=diff
==============================================================================
--- qpid/java/trunk/doc/java-broker/src/docbkx/management/channels/Java-Broker-Management-Channel-REST-API.xml
(original)
+++ qpid/java/trunk/doc/java-broker/src/docbkx/management/channels/Java-Broker-Management-Channel-REST-API.xml
Mon Jul 11 08:36:27 2016
@@ -342,5 +342,14 @@ curl --user admin -X PUT  -d '{}' http:/
     </para>
   </section>
 
+  <section xml:id="Java-Broker-Management-Channel-REST-API-CORS">
+    <title>Cross Origin Resource Sharing (CORS)</title>
+    <para> The Qpid Java broker supports Cross Origin Resource Sharing (CORS)
+      to allow web management consoles other than the one embedded in the
+      broker to use the REST API.  This feature must be enabled by configuring
+      the CORS Allow Origins and related attributes on the
+      <xref linkend="Java-Broker-Management-Managing-Plugin-HTTP"/>
+    </para>
+  </section>
 
 </section>

Modified: qpid/java/trunk/doc/java-broker/src/docbkx/management/managing/Java-Broker-Management-Managing-Plugins-HTTP.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/doc/java-broker/src/docbkx/management/managing/Java-Broker-Management-Managing-Plugins-HTTP.xml?rev=1752130&r1=1752129&r2=1752130&view=diff
==============================================================================
--- qpid/java/trunk/doc/java-broker/src/docbkx/management/managing/Java-Broker-Management-Managing-Plugins-HTTP.xml
(original)
+++ qpid/java/trunk/doc/java-broker/src/docbkx/management/managing/Java-Broker-Management-Managing-Plugins-HTTP.xml
Mon Jul 11 08:36:27 2016
@@ -48,6 +48,18 @@
                     <para><emphasis>Session timeout</emphasis> is the timeout
in seconds to close
                         the HTTP session. It is set to 10 minutes by default.</para>
                 </listitem>
+                <listitem>
+                    <para><emphasis>CORS Allow Origins</emphasis> is a
comma separated list of origins that are allowed to access the REST API. Set to '*' to allow
all origins. Default is empty, meaning CORS is disabled.</para>
+                </listitem>
+                <listitem>
+                    <para><emphasis>CORS Allow Methods</emphasis> is a
comma separated list of HTTP methods that are allowed to be used when doing CORS requests.
Default value is "HEAD,GET,POST".</para>
+                </listitem>
+                <listitem>
+                    <para><emphasis>CORS Allow Headers</emphasis> is a
comma separated list of HTTP headers that are allowed to be specified when doing CORS requests.
Default value is "Content-Type,Accept,Origin,X-Requested-With".</para>
+                </listitem>
+                <listitem>
+                    <para><emphasis>CORS Allow Credentials</emphasis> is
a boolean indicating if the resource allows requests with credentials. Default value is true.</para>
+                </listitem>
             </itemizedlist>
         </para>
     </section>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message