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 2015/03/13 12:47:17 UTC

svn commit: r943666 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-jose.html

Author: buildbot
Date: Fri Mar 13 11:47:17 2015
New Revision: 943666

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jax-rs-jose.html

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

Modified: websites/production/cxf/content/docs/jax-rs-jose.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-jose.html (original)
+++ websites/production/cxf/content/docs/jax-rs-jose.html Fri Mar 13 11:47:17 2015
@@ -117,12 +117,12 @@ Apache CXF -- JAX-RS JOSE
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p>&#160;</p><p><style type="text/css">/*<![CDATA[*/
-div.rbtoc1421621184755 {padding: 0px;}
-div.rbtoc1421621184755 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1421621184755 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1426247209546 {padding: 0px;}
+div.rbtoc1426247209546 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1426247209546 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1421621184755">
-<ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSJOSE-Introduction">Introduction</a></li><li><a shape="rect" href="#JAX-RSJOSE-MavenDependencies">Maven Dependencies</a></li><li><a shape="rect" href="#JAX-RSJOSE-JoseOverview">Jose Overview</a>
+/*]]>*/</style></p><div class="toc-macro rbtoc1426247209546">
+<ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSJOSE-Introduction">Introduction</a></li><li><a shape="rect" href="#JAX-RSJOSE-MavenDependencies">Maven Dependencies</a></li><li><a shape="rect" href="#JAX-RSJOSE-JOSEOverview">JOSE Overview</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSJOSE-JWAAlgorithms">JWA Algorithms</a></li><li><a shape="rect" href="#JAX-RSJOSE-JWKKeys">JWK Keys</a></li><li><a shape="rect" href="#JAX-RSJOSE-JWSSignature">JWS Signature</a></li><li><a shape="rect" href="#JAX-RSJOSE-JSONEncryption">JSON Encryption</a></li><li><a shape="rect" href="#JAX-RSJOSE-JSONWebTokens">JSON Web Tokens</a></li></ul>
 </li><li><a shape="rect" href="#JAX-RSJOSE-JAX-RSJoseFilters">JAX-RS Jose Filters</a></li><li><a shape="rect" href="#JAX-RSJOSE-OAuth2andJose">OAuth2 and Jose</a></li><li><a shape="rect" href="#JAX-RSJOSE-Third-PartyAlternatives">Third-Party Alternatives</a></li></ul>
 </div><h1 id="JAX-RSJOSE-Introduction">Introduction</h1><p>CXF 3.0.x implements <a shape="rect" class="external-link" href="https://datatracker.ietf.org/wg/jose/documents/" rel="nofollow">JOSE</a>.</p><h1 id="JAX-RSJOSE-MavenDependencies">Maven Dependencies</h1><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
@@ -132,7 +132,7 @@ div.rbtoc1421621184755 li {margin-left:
   &lt;version&gt;3.1.0&lt;/version&gt;
 &lt;/dependency&gt;
 ]]></script>
-</div></div><p>&#160;</p><h1 id="JAX-RSJOSE-JoseOverview">Jose Overview</h1><h2 id="JAX-RSJOSE-JWAAlgorithms">JWA Algorithms</h2><h2 id="JAX-RSJOSE-JWKKeys">JWK Keys</h2><h2 id="JAX-RSJOSE-JWSSignature">JWS Signature</h2><p>&#160;</p><h2 id="JAX-RSJOSE-JSONEncryption">JSON Encryption</h2><h2 id="JAX-RSJOSE-JSONWebTokens">JSON Web Tokens</h2><p>&#160;</p><h1 id="JAX-RSJOSE-JAX-RSJoseFilters">JAX-RS Jose Filters</h1><p>&#160;</p><h1 id="JAX-RSJOSE-OAuth2andJose">OAuth2 and Jose</h1><p>&#160;</p><h1 id="JAX-RSJOSE-Third-PartyAlternatives">Third-Party Alternatives</h1><p>Jose4J. Etc.</p><p>&#160;</p></div>
+</div></div><p>&#160;</p><h1 id="JAX-RSJOSE-JOSEOverview">JOSE Overview</h1><p>JOSE is a set of high quality specifications that specify how data payloads can be signed and/or encrypted with the cryptographic properties set in JSON-formatted metadata (headers).</p><p>Note that not only JSON documents but also documents in the arbitrary formats can be secured: text, binary data, even XML.</p><p>&#160;</p><p>JOSE is a key piece of the advanced OAuth2 applications but is also perfect at securing the regular HTTP web service communications.</p><p>&#160;</p><p>At the moment two signature and encryption output formats are supported: compact and JSON.</p><p>&#160;</p><p>Compact format is a concatenation of Base64URL-encoded JOSE headers (where the cryptographic signature or encryption properties are set),</p><p>Base64URL-encoded payload (in the original form if it is signed, otherwise - encrypted), plus Base64URL-encoded signature of the payload or some of encryption process input or outpu
 t data</p><p>such as an initialization vector, authentication tag, etc.</p><p>&#160;</p><p>The JSON (full) format is where all the information describing a signature or encryption process is presented in a not-compact, regular JSON document, offering a non-optimized but easier to understand format.</p><p>The signature process also supports the detached body mode where the body to be signed is not included in the actual output - assuming that both the consumer and producer know how to access the original payload in order to</p><p>validate the signature.</p><p>&#160;</p><p>The following subsections will have the examples with more details.</p><h2 id="JAX-RSJOSE-JWAAlgorithms">JWA Algorithms</h2><h2 id="JAX-RSJOSE-JWKKeys">JWK Keys</h2><h2 id="JAX-RSJOSE-JWSSignature">JWS Signature</h2><p>&#160;</p><h2 id="JAX-RSJOSE-JSONEncryption">JSON Encryption</h2><h2 id="JAX-RSJOSE-JSONWebTokens">JSON Web Tokens</h2><p>&#160;</p><h1 id="JAX-RSJOSE-JAX-RSJoseFilters">JAX-RS Jose Filters</h1><p>&#1
 60;</p><h1 id="JAX-RSJOSE-OAuth2andJose">OAuth2 and Jose</h1><p>&#160;</p><h1 id="JAX-RSJOSE-Third-PartyAlternatives">Third-Party Alternatives</h1><p>Jose4J. Etc.</p><p>&#160;</p></div>
            </div>
            <!-- Content -->
          </td>