Author: buildbot
Date: Mon Jul 9 16:47:47 2012
New Revision: 825144
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/jax-rs-cors.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 Mon Jul 9 16:47:47
2012
@@ -125,7 +125,7 @@ Apache CXF -- JAX-RS CORS
<div>
-<ul><li><a shape="rect"
href="#JAX-RSCORS-Introduction">Introduction</a></li><li><a shape="rect"
href="#JAX-RSCORS-Examples">Examples</a></li></ul></div>
+<ul><li><a shape="rect"
href="#JAX-RSCORS-Introduction">Introduction</a></li><li><a shape="rect"
href="#JAX-RSCORS-Mavendependencies">Maven dependencies</a></li><li><a
shape="rect" href="#JAX-RSCORS-Examples">Examples</a></li></ul></div>
<h1><a shape="rect" name="JAX-RSCORS-Introduction"></a>Introduction</h1>
@@ -137,6 +137,18 @@ Apache CXF -- JAX-RS CORS
<p>Note that the <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/CrossOriginResourceSharingFilter.java">CORS
filter</a> uses the JAX-RS selection algorithm to ensure that the JAX-RS
resource method capable of handling the request does exist.</p>
+<h1><a shape="rect" name="JAX-RSCORS-Mavendependencies"></a>Maven
dependencies</h1>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-xml">
+<span class="code-tag"><dependency></span>
+ <span class="code-tag"><groupId></span>org.apache.cxf<span
class="code-tag"></groupId></span>
+ <span class="code-tag"><artifactId></span>cxf-rt-rs-security-cors<span
class="code-tag"></artifactId></span>
+ <span class="code-tag"><version></span>2.6.1<span
class="code-tag"></version></span>
+<span class="code-tag"></dependency></span>
+</pre>
+</div></div>
+
<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>