cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r814216 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-basics.html docs/jax-rs-data-bindings.html docs/jax-rs.html docs/security.html
Date Tue, 24 Apr 2012 09:48:17 GMT
Author: buildbot
Date: Tue Apr 24 09:48:17 2012
New Revision: 814216

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-basics.html
    websites/production/cxf/content/docs/jax-rs-data-bindings.html
    websites/production/cxf/content/docs/jax-rs.html
    websites/production/cxf/content/docs/security.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/jax-rs-basics.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-basics.html (original)
+++ websites/production/cxf/content/docs/jax-rs-basics.html Tue Apr 24 09:48:17 2012
@@ -124,7 +124,7 @@ Apache CXF -- JAX-RS Basics
 <div id="ConfluenceContent"><p><span style="font-size:2em;font-weight:bold">
JAX-RS : Understanding the Basics </span></p>
 
 <div>
-<ul><li><a shape="rect" href="#JAX-RSBasics-Resourceclass">Resource class</a></li><li><a
shape="rect" href="#JAX-RSBasics-@Path">@Path</a></li><li><a shape="rect"
href="#JAX-RSBasics-HTTPMethod">HTTP Method</a></li><li><a shape="rect"
href="#JAX-RSBasics-Returntypes">Return types</a></li><li><a shape="rect"
href="#JAX-RSBasics-Exceptionhandling">Exception handling</a></li><li><a
shape="rect" href="#JAX-RSBasics-DealingwithParameters">Dealing with Parameters</a></li><ul><li><a
shape="rect" href="#JAX-RSBasics-Parameterbeans">Parameter beans</a></li></ul><li><a
shape="rect" href="#JAX-RSBasics-Resourcelifecycles">Resource lifecycles</a></li><li><a
shape="rect" href="#JAX-RSBasics-Overviewoftheselectionalgorithm.">Overview of the selection
algorithm.</a></li><ul><li><a shape="rect" href="#JAX-RSBasics-Selectingbetweenmultipleresourceclasses">Selecting
between multiple resource classes</a></li><li><a shape="rect" href="#JAX-RSBasics-Selectingbetweenmultipleresourcemethods">Selec
 ting between multiple resource methods</a></li><li><a shape="rect" href="#JAX-RSBasics-Resourcemethodsandmediatypes">Resource
methods and media types</a></li><li><a shape="rect" href="#JAX-RSBasics-Customselectionbetweenmultipleresources">Custom
selection between multiple resources</a></li></ul><li><a shape="rect"
href="#JAX-RSBasics-Contextannotations">Context annotations</a></li><ul><li><a
shape="rect" href="#JAX-RSBasics-CustomContexts">Custom Contexts</a></li></ul><li><a
shape="rect" href="#JAX-RSBasics-URIcalculationusingUriInfoandUriBuilder">URI calculation
using UriInfo and UriBuilder</a></li><li><a shape="rect" href="#JAX-RSBasics-Annotationinheritance">Annotation
inheritance</a></li><li><a shape="rect" href="#JAX-RSBasics-Subresourcelocators.">Sub-resource
locators.</a></li><ul><li><a shape="rect" href="#JAX-RSBasics-Staticresolutionofsubresources">Static
resolution of subresources</a></li></ul><li><a shape="rect" href="#JAX-RSBasics-MessageBodyProviders">Message
Bo
 dy Providers</a></li><ul><li><a shape="rect" href="#JAX-RSBasics-CustomMessageBodyProviders">Custom
Message Body Providers</a></li><li><a shape="rect" href="#JAX-RSBasics-Registeringcustomproviders">Registering
custom providers</a></li></ul><li><a shape="rect" href="#JAX-RSBasics-Customizingmediatypesformessagebodyproviders">Customizing
media types for message body providers</a></li><li><a shape="rect" href="#JAX-RSBasics-AdvancedHTTP">Advanced
HTTP</a></li></ul></div>
+<ul><li><a shape="rect" href="#JAX-RSBasics-Resourceclass">Resource class</a></li><li><a
shape="rect" href="#JAX-RSBasics-@Path">@Path</a></li><li><a shape="rect"
href="#JAX-RSBasics-HTTPMethod">HTTP Method</a></li><li><a shape="rect"
href="#JAX-RSBasics-Returntypes">Return types</a></li><li><a shape="rect"
href="#JAX-RSBasics-Exceptionhandling">Exception handling</a></li><li><a
shape="rect" href="#JAX-RSBasics-DealingwithParameters">Dealing with Parameters</a></li><ul><li><a
shape="rect" href="#JAX-RSBasics-Parameterbeans">Parameter beans</a></li></ul><li><a
shape="rect" href="#JAX-RSBasics-Resourcelifecycles">Resource lifecycles</a></li><li><a
shape="rect" href="#JAX-RSBasics-Overviewoftheselectionalgorithm.">Overview of the selection
algorithm.</a></li><ul><li><a shape="rect" href="#JAX-RSBasics-Selectingbetweenmultipleresourceclasses">Selecting
between multiple resource classes</a></li><li><a shape="rect" href="#JAX-RSBasics-Selectingbetweenmultipleresourcemethods">Selec
 ting between multiple resource methods</a></li><li><a shape="rect" href="#JAX-RSBasics-Resourcemethodsandmediatypes">Resource
methods and media types</a></li><li><a shape="rect" href="#JAX-RSBasics-Customselectionbetweenmultipleresources">Custom
selection between multiple resources</a></li></ul><li><a shape="rect"
href="#JAX-RSBasics-Contextannotations">Context annotations</a></li><ul><li><a
shape="rect" href="#JAX-RSBasics-CustomContexts">Custom Contexts</a></li></ul><li><a
shape="rect" href="#JAX-RSBasics-Annotationinheritance">Annotation inheritance</a></li><li><a
shape="rect" href="#JAX-RSBasics-Subresourcelocators.">Sub-resource locators.</a></li><ul><li><a
shape="rect" href="#JAX-RSBasics-Staticresolutionofsubresources">Static resolution of subresources</a></li></ul><li><a
shape="rect" href="#JAX-RSBasics-MessageBodyProviders">Message Body Providers</a></li><ul><li><a
shape="rect" href="#JAX-RSBasics-CustomMessageBodyProviders">Custom Message Body Providers</a></li><li
 ><a shape="rect" href="#JAX-RSBasics-Registeringcustomproviders">Registering custom
providers</a></li></ul><li><a shape="rect" href="#JAX-RSBasics-Customizingmediatypesformessagebodyproviders">Customizing
media types for message body providers</a></li><li><a shape="rect" href="#JAX-RSBasics-AdvancedHTTP">Advanced
HTTP</a></li></ul></div>
 
 <h1><a shape="rect" name="JAX-RSBasics-Resourceclass"></a>Resource class</h1>
 
@@ -769,14 +769,16 @@ UriInfo, SecurityContext, HttpHeaders, P
 </pre>
 </div></div>
 
-<p>Note registering SearchContextProvider is a temporarily requirement, it will be
auto-discovered in future CXF versions.</p>
-
-<h1><a shape="rect" name="JAX-RSBasics-URIcalculationusingUriInfoandUriBuilder"></a>URI
calculation using UriInfo and UriBuilder</h1>
-
-<p>Mapping of a particular URI to a service that returns some resource is straightforward
using the @Path annotation. However RESTful services are often connected: one service returns
data that is used as the key in another service. Listing entities and accessing a particular
entity is a typical example:</p>
+<p>Custom Context implementations may get all the information about the HTTP request
from the current CXF message.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <pre class="code-java">
+
+h1. URI calculation using UriInfo and UriBuilder
+
+Mapping of a particular URI to a service that returns some resource is straightforward using
the @Path annotation. However RESTful services are often connected: one service returns data
that is used as the key in another service. Listing entities and accessing a particular entity
is a typical example:
+
+{code:java}
 @Path(<span class="code-quote">"/customers"</span>)
 <span class="code-keyword">public</span> class CustomerService {
 

Modified: websites/production/cxf/content/docs/jax-rs-data-bindings.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-data-bindings.html (original)
+++ websites/production/cxf/content/docs/jax-rs-data-bindings.html Tue Apr 24 09:48:17 2012
@@ -124,7 +124,7 @@ Apache CXF -- JAX-RS Data Bindings
 <div id="ConfluenceContent"><p><span style="font-size:2em;font-weight:bold">
JAX-RS : Data Bindings </span></p>
 
 <div>
-<ul><li><a shape="rect" href="#JAX-RSDataBindings-JAXBsupport">JAXB support</a></li><ul><li><a
shape="rect" href="#JAX-RSDataBindings-ConfiguringJAXBprovider">Configuring JAXB provider</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-JAXBandMoxy">JAXB and Moxy</a></li></ul><li><a
shape="rect" href="#JAX-RSDataBindings-JSONsupport">JSON support</a></li><ul><li><a
shape="rect" href="#JAX-RSDataBindings-Jettison">Jettison</a></li><ul><li><a
shape="rect" href="#JAX-RSDataBindings-ConfiguringJSONprovider">Configuring JSON provider</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-DealingwithJSONarrayserializationissues">Dealing
with JSON array serialization issues</a></li><li><a shape="rect" href="#JAX-RSDataBindings-BadgerFishconvention">BadgerFish
convention</a></li><li><a shape="rect" href="#JAX-RSDataBindings-WrappingandUnwrappingJSONsequences">Wrapping
and Unwrapping JSON sequences</a></li><li><a shape="rect" href="#JAX-RSDataBindings-TypeConverters">TypeConverters<
 /a></li></ul><li><a shape="rect" href="#JAX-RSDataBindings-Jackson">Jackson</a></li></ul><li><a
shape="rect" href="#JAX-RSDataBindings-CommonJAXBandJSONconfiguration">Common JAXB and
JSON configuration</a></li><ul><li><a shape="rect" href="#JAX-RSDataBindings-SingleJAXBContextandextrauserclasses">Single
JAXBContext and extra user classes</a></li><li><a shape="rect" href="#JAX-RSDataBindings-AutomaticJAXBElementconversionduringserialization">Automatic
JAXBElement conversion during serialization</a></li><li><a shape="rect"
href="#JAX-RSDataBindings-HandlingJAXBbeanswithoutXmlRootElementannotations">Handling JAXB
beans without XmlRootElement annotations</a></li><li><a shape="rect"
href="#JAX-RSDataBindings-Handlingexplicitcollections">Handling explicit collections</a></li></ul><li><a
shape="rect" href="#JAX-RSDataBindings-CustomizingJAXBXMLandJSONinputandoutput">Customizing
JAXB XML and JSON input and output</a></li><li><a shape="rect" href="#JAX-RSDataBindings-JSONWithPadding"
 >JSON With Padding</a></li><li><a shape="rect" href="#JAX-RSDataBindings-Atom">Atom</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-AegisDataBinding">Aegis Data Binding</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-XMLBeans">XMLBeans</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-CXFDataBindingsasJAXRSproviders">CXF DataBindings
as JAX-RS providers</a></li><li><a shape="rect" href="#JAX-RSDataBindings-JAXRSDataBinding">JAXRS
DataBinding</a></li><li><a shape="rect" href="#JAX-RSDataBindings-Schemavalidation">Schema
validation</a></li><ul><li><a shape="rect" href="#JAX-RSDataBindings-Outputvalidation">Output
validation</a></li></ul><li><a shape="rect" href="#JAX-RSDataBindings-FastInfoset">Fast
Infoset</a></li></ul></div>
+<ul><li><a shape="rect" href="#JAX-RSDataBindings-JAXBsupport">JAXB support</a></li><ul><li><a
shape="rect" href="#JAX-RSDataBindings-ConfiguringJAXBprovider">Configuring JAXB provider</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-JAXBandMoxy">JAXB and Moxy</a></li></ul><li><a
shape="rect" href="#JAX-RSDataBindings-JSONsupport">JSON support</a></li><ul><li><a
shape="rect" href="#JAX-RSDataBindings-Jettison">Jettison</a></li><ul><li><a
shape="rect" href="#JAX-RSDataBindings-ConfiguringJSONprovider">Configuring JSON provider</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-DealingwithJSONarrayserializationissues">Dealing
with JSON array serialization issues</a></li><li><a shape="rect" href="#JAX-RSDataBindings-BadgerFishconvention">BadgerFish
convention</a></li><li><a shape="rect" href="#JAX-RSDataBindings-WrappingandUnwrappingJSONsequences">Wrapping
and Unwrapping JSON sequences</a></li><li><a shape="rect" href="#JAX-RSDataBindings-TypeConverters">TypeConverters<
 /a></li></ul><li><a shape="rect" href="#JAX-RSDataBindings-Jackson">Jackson</a></li></ul><li><a
shape="rect" href="#JAX-RSDataBindings-CommonJAXBandJSONconfiguration">Common JAXB and
JSON configuration</a></li><ul><li><a shape="rect" href="#JAX-RSDataBindings-SingleJAXBContextandextrauserclasses">Single
JAXBContext and extra user classes</a></li><li><a shape="rect" href="#JAX-RSDataBindings-AutomaticJAXBElementconversionduringserialization">Automatic
JAXBElement conversion during serialization</a></li><li><a shape="rect"
href="#JAX-RSDataBindings-HandlingJAXBbeanswithoutXmlRootElementannotations">Handling JAXB
beans without XmlRootElement annotations</a></li><li><a shape="rect"
href="#JAX-RSDataBindings-Handlingexplicitcollections">Handling explicit collections</a></li></ul><li><a
shape="rect" href="#JAX-RSDataBindings-CustomizingJAXBXMLandJSONinputandoutput">Customizing
JAXB XML and JSON input and output</a></li><li><a shape="rect" href="#JAX-RSDataBindings-ControllingLarge
 JAXBXMLandJSONinputpayloads">Controlling Large JAXB XML and JSON input payloads</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-JSONWithPadding">JSON With Padding</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-Atom">Atom</a></li><li><a shape="rect"
href="#JAX-RSDataBindings-AegisDataBinding">Aegis Data Binding</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-XMLBeans">XMLBeans</a></li><li><a
shape="rect" href="#JAX-RSDataBindings-CXFDataBindingsasJAXRSproviders">CXF DataBindings
as JAX-RS providers</a></li><li><a shape="rect" href="#JAX-RSDataBindings-JAXRSDataBinding">JAXRS
DataBinding</a></li><li><a shape="rect" href="#JAX-RSDataBindings-Schemavalidation">Schema
validation</a></li><ul><li><a shape="rect" href="#JAX-RSDataBindings-Outputvalidation">Output
validation</a></li></ul><li><a shape="rect" href="#JAX-RSDataBindings-FastInfoset">Fast
Infoset</a></li></ul></div>
 
 <h1><a shape="rect" name="JAX-RSDataBindings-JAXBsupport"></a>JAXB support</h1>
 
@@ -563,6 +563,49 @@ Typically one would delegate to a super 
 
 <p>This feature might be used in a number of cases. For example, one may have rootless
JSON array collections such as "<tt>a:b},{c:d</tt>" deserialized into a bean by
using a "wrapperName" JSONProvider property with a value like "list" which identifies a bean
field and an "inAppendMap" property with a name of the bean (ex, "book") being appended before
the "list", thus effectively turning the original JSON sequence into "{book:{list:<tt>a:b},{c:d</tt>}}".</p>
 
+<h1><a shape="rect" name="JAX-RSDataBindings-ControllingLargeJAXBXMLandJSONinputpayloads"></a>Controlling
Large JAXB XML and JSON input payloads</h1>
+
+<p>Starting from CXF 2.6.0 it is possible to control the depth of large XML and JSON
payloads on the per-endpoint basis in order to limit the risk of the denial of service attacks.
Please see <a shape="rect" class="external-link" href="https://cwiki.apache.org/confluence/display/CXF20DOC/Security#Security-XML">this
section</a> on how to use a new DepthRestrictingInterceptor in order to control XML
payloads.</p>
+
+<p>Additionally it is possible to configure JAXBElementProvider or JSONProvider with
contextual properties or <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/DocumentDepthProperties.java">DocumentDepthProperties</a>:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<pre class="code-xml">
+
+<span class="code-tag">&lt;bean id=<span class="code-quote">"depthProperties"</span>
class=<span class="code-quote">"org.apache.cxf.staxutils.DocumentDepthProperties"</span>&gt;</span>
+  <span class="code-tag">&lt;property name=<span class="code-quote">"innerElementCountThreshold"</span>
value=<span class="code-quote">"500"</span>/&gt;</span>
+<span class="code-tag">&lt;/bean&gt;</span> 
+
+<span class="code-tag">&lt;bean id=<span class="code-quote">"jaxbProvider"</span>
class=<span class="code-quote">"org.apache.cxf.jaxrs.provider.JAXBElementProvider"</span>&gt;</span>
+  <span class="code-tag">&lt;property name=<span class="code-quote">"depthProperties"</span>
ref=<span class="code-quote">"depthProperties"</span>/&gt;</span>
+<span class="code-tag">&lt;/bean&gt;</span> 
+
+<span class="code-tag">&lt;bean id=<span class="code-quote">"jsonProvider"</span>
class=<span class="code-quote">"org.apache.cxf.jaxrs.provider.json.JSONProvider"</span>&gt;</span>
+  <span class="code-tag">&lt;property name=<span class="code-quote">"depthProperties"</span>
ref=<span class="code-quote">"depthProperties"</span>/&gt;</span>
+<span class="code-tag">&lt;/bean&gt;</span> 
+
+<span class="code-tag">&lt;jaxrs:server id=<span class="code-quote">"endpoint1"</span>&gt;</span>
+  <span class="code-tag">&lt;jaxrs:serviceBeans&gt;</span>
+    <span class="code-tag">&lt;bean class=<span class="code-quote">"my.package.RootResource"</span>/&gt;</span>
+  <span class="code-tag">&lt;/jaxrs:serviceBeans&gt;</span>
+  <span class="code-tag">&lt;jaxrs:providers&gt;</span>
+    <span class="code-tag">&lt;ref bean=<span class="code-quote">"jaxbProvider"</span>/&gt;</span>
+    <span class="code-tag">&lt;ref bean=<span class="code-quote">"sonProvider"</span>/&gt;</span>
+  <span class="code-tag">&lt;/jaxrs:providers&gt;</span>
+<span class="code-tag">&lt;/jaxrs:server&gt;</span>
+
+<span class="code-tag">&lt;jaxrs:server id=<span class="code-quote">"endpoint2"</span>&gt;</span>
+  <span class="code-tag">&lt;jaxrs:serviceBeans&gt;</span>
+    <span class="code-tag">&lt;bean class=<span class="code-quote">"my.package.RootResource"</span>/&gt;</span>
+  <span class="code-tag">&lt;/jaxrs:serviceBeans&gt;</span>
+  <span class="code-tag">&lt;jaxrs:properties&gt;</span>
+    &lt;entry key=<span class="code-quote">"depthInnerElementCountThreshold"</span>
value=<span class="code-quote">"500"</span>/
+  <span class="code-tag">&lt;/jaxrs:properties&gt;</span>
+<span class="code-tag">&lt;/jaxrs:server&gt;</span>
+
+
+</pre>
+</div></div>
 
 <h1><a shape="rect" name="JAX-RSDataBindings-JSONWithPadding"></a>JSON
With Padding</h1>
 
@@ -706,7 +749,7 @@ Similarly to the default JSONProvider th
 
 <h1><a shape="rect" name="JAX-RSDataBindings-CXFDataBindingsasJAXRSproviders"></a>CXF
DataBindings as JAX-RS providers</h1>
 
-<p>Starting from CXF 2.2.3 it is possible to register a CXF DataBinding bean using
a jaxrs:databinding element and it will be wrappped as a JAXRS MessageBodyReader/Writer <a
shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/DataBindingProvider.java">DataBindingProvider</a>
capable of dealing with XML-based content. It can be of special interest to users combining
JAX-RS and JAXWS. Thus CXF JAXB, Aegis, SDO and XMLBeans databindings can be easily plugged
in. </p>
+<p>Starting from CXF 2.2.3 it is possible to register a CXF DataBinding bean using
a jaxrs:databinding element and it will be wrappped as a JAXRS MessageBodyReader/Writer <a
shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/DataBindingProvider.java">DataBindingProvider</a>
capable of dealing with XML-based content. It can be of special interest to users combining
JAX-RS and JAXWS. Thus CXF JAXB, JIBX, Aegis, SDO and XMLBeans DataBindings can be plugged
in. </p>
 
 <p>DataBindingProvider can also be registered as a jaxrs:provider with its dataBinding
property being set as needed.</p>
 

Modified: websites/production/cxf/content/docs/jax-rs.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs.html (original)
+++ websites/production/cxf/content/docs/jax-rs.html Tue Apr 24 09:48:17 2012
@@ -222,7 +222,7 @@ There have been just a few minor modific
    <span class="code-tag">&lt;dependency&gt;</span>
       <span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
       <span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-frontend-jaxrs<span
class="code-tag">&lt;/artifactId&gt;</span>
-      <span class="code-tag">&lt;version&gt;</span>2.5.0<span class="code-tag">&lt;/version&gt;</span>
+      <span class="code-tag">&lt;version&gt;</span>2.6.0<span class="code-tag">&lt;/version&gt;</span>
    <span class="code-tag">&lt;/dependency&gt;</span>
 </pre>
 </div></div>
@@ -234,7 +234,7 @@ There have been just a few minor modific
    <span class="code-tag">&lt;dependency&gt;</span>
       <span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
       <span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-rs-extension-providers<span
class="code-tag">&lt;/artifactId&gt;</span>
-      <span class="code-tag">&lt;version&gt;</span>2.5.0<span class="code-tag">&lt;/version&gt;</span>
+      <span class="code-tag">&lt;version&gt;</span>2.6.0<span class="code-tag">&lt;/version&gt;</span>
    <span class="code-tag">&lt;/dependency&gt;</span>
 </pre>
 </div></div>
@@ -246,7 +246,7 @@ There have been just a few minor modific
    <span class="code-tag">&lt;dependency&gt;</span>
       <span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span
class="code-tag">&lt;/groupId&gt;</span>
       <span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-rs-extension-search<span
class="code-tag">&lt;/artifactId&gt;</span>
-      <span class="code-tag">&lt;version&gt;</span>2.5.0<span class="code-tag">&lt;/version&gt;</span>
+      <span class="code-tag">&lt;version&gt;</span>2.6.0<span class="code-tag">&lt;/version&gt;</span>
    <span class="code-tag">&lt;/dependency&gt;</span>
 </pre>
 </div></div>
@@ -317,7 +317,7 @@ Please see the configuration sections be
 
 <h1><a shape="rect" name="JAX-RS-WhatisNew"></a>What is New</h1>
 
-<ul><li>Initial support for OAuth2, please see <a shape="rect" href="http://cxf.apache.org/docs/jax-rs-oauth2.html">JAX-RS
OAuth2</a> for more information.</li></ul>
+<ul><li>Initial support for OAuth2, please see <a shape="rect" href="http://cxf.apache.org/docs/jax-rs-oauth2.html">JAX-RS
OAuth2</a> for more information.</li><li>Custom Contexts, please see <a
shape="rect" href="http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-CustomContexts">this
section</a> for more information.</li><li>Controlling large XML and JSON
payloads, please see <a shape="rect" class="external-link" href="https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Data+Bindings#JAX-RSDataBindings-ControllingLargeJAXBXMLandJSONinputpayloads">this
section</a> for more information.</li></ul>
 
 
 <h1><a shape="rect" name="JAX-RS-GettingStartedwithJAXRS"></a>Getting Started
with JAX-RS</h1>

Modified: websites/production/cxf/content/docs/security.html
==============================================================================
--- websites/production/cxf/content/docs/security.html (original)
+++ websites/production/cxf/content/docs/security.html Tue Apr 24 09:48:17 2012
@@ -124,7 +124,7 @@ Apache CXF -- Security
 <div id="ConfluenceContent"><p><span style="font-size:2em;font-weight:bold">
Securing CXF Services </span></p>
 
 <div>
-<ul><li><a shape="rect" href="#Security-Securetransports">Secure transports</a></li><ul><li><a
shape="rect" href="#Security-HTTPS">HTTPS</a></li></ul><li><a
shape="rect" href="#Security-WSSecurity">WS-* Security</a></li><li><a
shape="rect" href="#Security-Authentication">Authentication</a></li><li><a
shape="rect" href="#Security-WSSecurityUsernameTokenandCustomAuthentication">WS-Security
UsernameToken and Custom Authentication</a></li><li><a shape="rect" href="#Security-Authorization">Authorization</a></li><li><a
shape="rect" href="#Security-ControllingthedepthofXMLpayloads">Controlling the depth of
XML payloads</a></li></ul></div>
+<ul><li><a shape="rect" href="#Security-Securetransports">Secure transports</a></li><ul><li><a
shape="rect" href="#Security-HTTPS">HTTPS</a></li></ul><li><a
shape="rect" href="#Security-WSSecurity">WS-* Security</a></li><li><a
shape="rect" href="#Security-Authentication">Authentication</a></li><li><a
shape="rect" href="#Security-WSSecurityUsernameTokenandCustomAuthentication">WS-Security
UsernameToken and Custom Authentication</a></li><li><a shape="rect" href="#Security-Authorization">Authorization</a></li><li><a
shape="rect" href="#Security-ControllingLargeRequestPayloads">Controlling Large Request
Payloads</a></li><ul><li><a shape="rect" href="#Security-XML">XML</a></li><li><a
shape="rect" href="#Security-Multiparts">Multiparts</a></li></ul></ul></div>
 
 <h1><a shape="rect" name="Security-Securetransports"></a>Secure transports</h1>
 
@@ -231,8 +231,9 @@ Apache CXF -- Security
 </pre>
 </div></div> 
 
-<h1><a shape="rect" name="Security-ControllingthedepthofXMLpayloads"></a>Controlling
the depth of XML payloads</h1>
+<h1><a shape="rect" name="Security-ControllingLargeRequestPayloads"></a>Controlling
Large Request Payloads</h1>
 
+<h2><a shape="rect" name="Security-XML"></a>XML </h2>
 <p>Endpoints expecting XML payloads may get <a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/security/DepthRestrictingStreamInterceptor.java">DepthRestrictingInterceptor</a>
registered and configured in order to control the limits a given XML payload may not exceed.
This can be useful in a variety of cases in order to protect against massive payloads which
can potentially cause the denial-of-service situation or simply slow the service down a lot.</p>
 
 <p>The complete number of XML elements, the number of immediate children of a given
XML element may contain and the stack depth of the payload can be restricted, for example:</p>
@@ -271,7 +272,7 @@ Apache CXF -- Security
 
 <p>The following system properties can also be set up for JAX-WS endpoints: "org.apache.cxf.staxutils.innerElementCountThreshold"
and "org.apache.cxf.staxutils.innerElementLevelThreshold".</p>
 
-<p>Finally, default JAX-RS org.apache.cxf.jaxrs.provider.JAXBElementProvider and JAXB-based
org.apache.cxf.jaxrs.provider.json.JSONProvider can be directly configured with <a shape="rect"
class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/DocumentDepthProperties.java">DepthRestrictingProperies</a>.</p>
+<h2><a shape="rect" name="Security-Multiparts"></a>Multiparts</h2>
 </div>
            </div>
            <!-- Content -->



Mime
View raw message