Author: buildbot Date: Mon Apr 8 11:56:45 2019 New Revision: 1043349 Log: Production update by buildbot for cxf
Modified: websites/production/cxf/content/cache/docs.pageCache websites/production/cxf/content/docs/jax-rs-http-signature.html Modified: websites/production/cxf/content/cache/docs.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/cxf/content/docs/jax-rs-http-signature.html ============================================================================== --- websites/production/cxf/content/docs/jax-rs-http-signature.html (original) +++ websites/production/cxf/content/docs/jax-rs-http-signature.html Mon Apr 8 11:56:45 2019 @@ -119,11 +119,11 @@ Apache CXF -- JAX-RS HTTP Signature <!-- Content --> <div class="wiki-content"> <div id="ConfluenceContent"><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1554209822161 {padding: 0px;} -div.rbtoc1554209822161 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1554209822161 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1554724567125 {padding: 0px;} +div.rbtoc1554724567125 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1554724567125 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1554209822161"> +/*]]>*/</style></p><div class="toc-macro rbtoc1554724567125"> <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSHTTPSignature-Introduction">Introduction</a></li><li><a shape="rect" href="#JAX-RSHTTPSignature-MavenDependencies">Maven Dependencies</a></li><li><a shape="rect" href="#JAX-RSHTTPSignature-Configuration">Configuration</a> <ul class="toc-indentation"><li><a shape="rect" href="#JAX-RSHTTPSignature-Providers">Providers</a></li><li><a shape="rect" href="#JAX-RSHTTPSignature-FinegrainedConfiguration">Fine grained Configuration</a></li><li><a shape="rect" href="#JAX-RSHTTPSignature-ConfigurationProperties">Configuration Properties</a></li></ul> </li></ul> @@ -170,7 +170,7 @@ WebClient client = client.type("application/xml").accept("application/xml"); </pre> -</div></div><p>For signature verification, we need to supply the VerifySignatureClientFilter and VerifySignatureFilter instances with a MessageVerifier instance. At a minimum, we need to configure the MessageVerifier with a PublicKeyProvider instance, which is an interface which supplies the public key required to verify the signature given the "Key Id" present in the message. As per MessageSigner, we can also specify the signature algorithm that is required, as well as the Security Provider. It defaults to the same values as documented for MessageSigner above. We can also specify a list of HTTP headers which must be signed.</p><p>Here is an example from the tests:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><p>For signature verification, we need to supply the VerifySignatureClientFilter and VerifySignatureFilter instances with a MessageVerifier instance. At a minimum, we need to configure the MessageVerifier with a KeyProvider instance, which is an interface which supplies the key required to verify the signature given the "Key Id" present in the message. As per MessageSigner, we can also specify the signature algorithm that is required, as well as the Security Provider. It defaults to the same values as documented for MessageSigner above. We can also specify a list of HTTP headers which must be signed.</p><p>Here is an example from the tests:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <pre class="brush: java; gutter: false; theme: Default"><bean id="publicKeyProvider" class="org.apache.cxf.systest.jaxrs.security.httpsignature.CustomPublicKeyProvider"/> <bean id="messageVerifier" class="org.apache.cxf.rs.security.httpsignature.MessageVerifier"> <constructor-arg>