You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2013/06/04 11:48:10 UTC
svn commit: r864332 - in /websites/production/cxf/content:
cache/docs.pageCache docs/jax-rs-cors.html
docs/jaxrs-services-configuration.html
Author: buildbot
Date: Tue Jun 4 09:48:09 2013
New Revision: 864332
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/jax-rs-cors.html
websites/production/cxf/content/docs/jaxrs-services-configuration.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/jax-rs-cors.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-cors.html (original)
+++ websites/production/cxf/content/docs/jax-rs-cors.html Tue Jun 4 09:48:09 2013
@@ -151,7 +151,9 @@ Apache CXF -- JAX-RS CORS
<h1><a shape="rect" name="JAX-RSCORS-Examples"></a>Examples</h1>
-<p>Here is the test code showing how <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/rt/rs/security/cors/src/main/java/org/apache/cxf/rs/security/cors/CrossOriginResourceSharing.java">CrossOriginResourceSharing</a> annotations can be applied at the resource and individual method levels:</p>
+<p>Here is the test code showing how <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/rt/rs/security/cors/src/main/java/org/apache/cxf/rs/security/cors/CrossOriginResourceSharing.java">CrossOriginResourceSharing</a> annotations can be applied at the resource and individual method levels.</p>
+
+<p>Note that an origin is restricted to "http://area51.mil:31415" by the 'allowOrigins' property, which may contain multiple URI values. A boolean 'allowAllOrigins' property can be used instead (to simplify the testing or when it is deemed it is secure enough within a given environment to allow for all the origins). </p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
Modified: websites/production/cxf/content/docs/jaxrs-services-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/jaxrs-services-configuration.html (original)
+++ websites/production/cxf/content/docs/jaxrs-services-configuration.html Tue Jun 4 09:48:09 2013
@@ -1048,8 +1048,8 @@ Since CXF 2.2.3 one can put them directl
<p>1. System "org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH"<br clear="none">
and "org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH" properties may have to be set to "true" to support URIs containing encoded forward or backward slashes.<br clear="none">
-2. When using mod_jk - ensure that the JkOptions setting has +ForwardURICompatUnparsed set. </p>
-</div>
+2. When using mod_jk - ensure that the JkOptions setting has +ForwardURICompatUnparsed set. <br clear="none">
+3. Windows: upgrade isapi_redirect.dll if you see URI containing encoded spaces being decoded by Tomcat.</p></div>
</div>
<!-- Content -->
</td>