camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r881822 - in /websites/production/camel/content: cache/main.pageCache xml-security-component.html
Date Wed, 09 Oct 2013 09:18:47 GMT
Author: buildbot
Date: Wed Oct  9 09:18:47 2013
New Revision: 881822

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/xml-security-component.html

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

Modified: websites/production/camel/content/xml-security-component.html
==============================================================================
--- websites/production/camel/content/xml-security-component.html (original)
+++ websites/production/camel/content/xml-security-component.html Wed Oct  9 09:18:47 2013
@@ -221,7 +221,7 @@
 
 <div class="confluenceTableSmall"></div>
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh">
Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th
colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> keyAccessor </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/KeyAccessor.java"
rel="nofollow">KeyAccessor</a> </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Provides the signing
key and the KeyInfo instance. There is an example implementation which uses a keystore, see
<a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/ja
 va/org/apache/camel/component/xmlsecurity/api/DefaultKeyAccessor.java" rel="nofollow">DefaultKeyAccessor</a>
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> addKeyInfoReference
</td><td colspan="1" rowspan="1" class="confluenceTd"> Boolean </td><td
colspan="1" rowspan="1" class="confluenceTd"> Boolean.TRUE </td><td colspan="1"
rowspan="1" class="confluenceTd"> Indicator whether a Reference element refering the KeyInfo
element provided by the key accessor should be added to the XML signature. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> signatureAlgorithm </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" class="external-link" href="http://www.w3.org/2000/09/xmldsig#rsa-sha1"
rel="nofollow">http://www.w3.org/2000/09/xmldsig#rsa-sha1</a> </td><td colspan="1"
rowspan="1" class="confluenceTd"> signature algorithm consisting of a digest and encryption
algorithm. The digest
  algorithm is used to calculate the digest of the SignedInfo element and the encryption algorithm
is used to sign this digest. Possible values: <a shape="rect" class="external-link" href="http://www.w3.org/2000/09/xmldsig#dsa-sha1"
rel="nofollow">http://www.w3.org/2000/09/xmldsig#dsa-sha1</a>, <a shape="rect"
class="external-link" href="http://www.w3.org/2000/09/xmldsig#rsa-sha1" rel="nofollow">http://www.w3.org/2000/09/xmldsig#rsa-sha1</a>,
<a shape="rect" class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#rsa-sha256</a>, <a shape="rect"
class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha384" rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#rsa-sha384</a>,
<a shape="rect" class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"
rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#rsa-sha512</a> </td></tr><tr><td
colspan="1" rowspan="1" class="confluen
 ceTd"> digestAlgorithm </td><td colspan="1" rowspan="1" class="confluenceTd">
String </td><td colspan="1" rowspan="1" class="confluenceTd"> see description
</td><td colspan="1" rowspan="1" class="confluenceTd"> Digest algorithm for calculating
the digest of the in-message body. If not specified then the digest algorithm of the signature
algorithm is used. Possible values: <a shape="rect" class="external-link" href="http://www.w3.org/2000/09/xmldsig#sha1"
rel="nofollow">http://www.w3.org/2000/09/xmldsig#sha1</a>, <a shape="rect" class="external-link"
href="http://www.w3.org/2001/04/xmlenc#sha256" rel="nofollow">http://www.w3.org/2001/04/xmlenc#sha256</a>,
<a shape="rect" class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#sha384"
rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#sha384</a>, <a shape="rect"
class="external-link" href="http://www.w3.org/2001/04/xmlenc#sha512" rel="nofollow">http://www.w3.org/2001/04/xmlenc#sha512</a>
</td></tr><tr><td colspan="1" row
 span="1" class="confluenceTd"> parentLocalName </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Local name of the
parent of the Signature element.  The Signature element will be added at the end of the children
of the parent. Necessary for enveloped XML signature. If this option is null, then an enveloping
XML signature is created. See also option <tt>parentNamespace</tt>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> parentNamespace </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Namespace of the parent
of the Signature element. See option <tt>parentLocalName</tt> </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> canonicalizationMethod </td><td
colspan="1" rowspan="1" class="confluenceTd"> <a shape
 ="rect" class="external-link" href="http://docs.oracle.com/javase/7/docs/api/javax/xml/crypto/AlgorithmMethod.html"
rel="nofollow">javax.xml.crypto.AlgorithmMethod</a> </td><td colspan="1"
rowspan="1" class="confluenceTd"> C14n </td><td colspan="1" rowspan="1" class="confluenceTd">
Canonicalization method used to canonicalize the SignedInfo element before the digest is calculated.
You can use the helper methods <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java"
rel="nofollow">XmlSignatureHelper</a>.getCanonicalizationMethod(String algorithm)
or getCanonicalizationMethod(String algorithm, List&lt;String&gt; inclusiveNamespacePrefixes)
to create a canonicalization method. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> transformMethods </td><td colspan="1" rowspan="1" class="confluenceTd">
List&lt;javax.xml.crypto.Algorithm
 Method&gt; </td><td colspan="1" rowspan="1" class="confluenceTd"> see description
</td><td colspan="1" rowspan="1" class="confluenceTd"> Transforms which are executed
on the message body before the digest is calculated. By default, C14n is added and in the
case of enveloped signature (see option <tt>parentLocalName</tt>) also <a shape="rect"
class="external-link" href="http://www.w3.org/2000/09/xmldsig#enveloped-signature" rel="nofollow">http://www.w3.org/2000/09/xmldsig#enveloped-signature</a>
is added at position 0 of the list. Use methods in <a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java"
rel="nofollow">XmlSignatureHelper</a> to create the transform methods. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> prefixForXmlSignatureNamespace </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1
 " rowspan="1" class="confluenceTd"> <tt>ds</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Prefix for the XML signature namespace. If <tt>null</tt>
is specified or an empty string then no prefix is used for the signature namespace. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> contentReferenceUri </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
see description </td><td colspan="1" rowspan="1" class="confluenceTd"> The URI
of the reference to the signed content (in-message body). If <tt>null</tt> and
we are in the enveloped XML signature case then the URI is set to "". If <tt>null</tt>
and we are in the enveloping XML signature case then the URI is set to "generated_object_id"
which means that the reference points to the Object element containing the in-message body.
You can use this option to reference a specific part in your in-message body if you do not
want to sign the complete in-me
 ssage body. This value can be overwritten by the header "CamelXmlSignatureContentReferenceUri".
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> contentReferenceType
</td><td colspan="1" rowspan="1" class="confluenceTd"> String </td><td
colspan="1" rowspan="1" class="confluenceTd"> null </td><td colspan="1" rowspan="1"
class="confluenceTd"> Value of the type attribute of the content reference. This value
can be overwritten by the header "CamelXmlSignatureContentReferenceType" </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> plainText </td><td colspan="1" rowspan="1"
class="confluenceTd"> Boolean </td><td colspan="1" rowspan="1" class="confluenceTd">
Boolean.FALSE </td><td colspan="1" rowspan="1" class="confluenceTd"> Indicator
whether the in-message body contains plain text. Normally, the signature generator treats
the incoming message body as XML. If the message body is plain text, then you must set this
option to <tt>true</tt>. The value can be overwr
 itten by the header "CamelXmlSignatureMessageIsPlainText". </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> plainTextEncoding </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Only used when the
option <tt>plainText</tt> is set to <tt>true</tt>. Then you can specify
the encoding of the plain text. If <tt>null</tt> then UTF-8 is used. The value
can be overwritten by the header "CamelXmlSignatureMessageIsPlainTextEncoding". </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java"
rel="nofollow">XmlSignatureProperties</a> </td><td colspan="1" rowspan="1"
class="confluenceTd">
  null </td><td colspan="1" rowspan="1" class="confluenceTd"> For adding additional
References and Objects to the XML signature which contain additional properties, you can provide
a bean which implements the <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java"
rel="nofollow">XmlSignatureProperties</a> interface. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">contentObjectId</td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td
colspan="1" rowspan="1" class="confluenceTd">Value of the Id attribute of the Object element.
Only used in the enveloped XML signature case. If <tt>null</tt> then a unique
value is generated. Available as of <b>2.12.2</b></td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh">
Type </th><th colspan="1" rowspan="1" class="confluenceTh"> Default </th><th
colspan="1" rowspan="1" class="confluenceTh"> Description </th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> keyAccessor </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/KeyAccessor.java"
rel="nofollow">KeyAccessor</a> </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Provides the signing
key and the KeyInfo instance. There is an example implementation which uses a keystore, see
<a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/ja
 va/org/apache/camel/component/xmlsecurity/api/DefaultKeyAccessor.java" rel="nofollow">DefaultKeyAccessor</a>
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> addKeyInfoReference
</td><td colspan="1" rowspan="1" class="confluenceTd"> Boolean </td><td
colspan="1" rowspan="1" class="confluenceTd"> Boolean.TRUE </td><td colspan="1"
rowspan="1" class="confluenceTd"> Indicator whether a Reference element refering the KeyInfo
element provided by the key accessor should be added to the XML signature. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> signatureAlgorithm </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" class="external-link" href="http://www.w3.org/2000/09/xmldsig#rsa-sha1"
rel="nofollow">http://www.w3.org/2000/09/xmldsig#rsa-sha1</a> </td><td colspan="1"
rowspan="1" class="confluenceTd"> signature algorithm consisting of a digest and encryption
algorithm. The digest
  algorithm is used to calculate the digest of the SignedInfo element and the encryption algorithm
is used to sign this digest. Possible values: <a shape="rect" class="external-link" href="http://www.w3.org/2000/09/xmldsig#dsa-sha1"
rel="nofollow">http://www.w3.org/2000/09/xmldsig#dsa-sha1</a>, <a shape="rect"
class="external-link" href="http://www.w3.org/2000/09/xmldsig#rsa-sha1" rel="nofollow">http://www.w3.org/2000/09/xmldsig#rsa-sha1</a>,
<a shape="rect" class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#rsa-sha256</a>, <a shape="rect"
class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha384" rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#rsa-sha384</a>,
<a shape="rect" class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"
rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#rsa-sha512</a> </td></tr><tr><td
colspan="1" rowspan="1" class="confluen
 ceTd"> digestAlgorithm </td><td colspan="1" rowspan="1" class="confluenceTd">
String </td><td colspan="1" rowspan="1" class="confluenceTd"> see description
</td><td colspan="1" rowspan="1" class="confluenceTd"> Digest algorithm for calculating
the digest of the in-message body. If not specified then the digest algorithm of the signature
algorithm is used. Possible values: <a shape="rect" class="external-link" href="http://www.w3.org/2000/09/xmldsig#sha1"
rel="nofollow">http://www.w3.org/2000/09/xmldsig#sha1</a>, <a shape="rect" class="external-link"
href="http://www.w3.org/2001/04/xmlenc#sha256" rel="nofollow">http://www.w3.org/2001/04/xmlenc#sha256</a>,
<a shape="rect" class="external-link" href="http://www.w3.org/2001/04/xmldsig-more#sha384"
rel="nofollow">http://www.w3.org/2001/04/xmldsig-more#sha384</a>, <a shape="rect"
class="external-link" href="http://www.w3.org/2001/04/xmlenc#sha512" rel="nofollow">http://www.w3.org/2001/04/xmlenc#sha512</a>
</td></tr><tr><td colspan="1" row
 span="1" class="confluenceTd"> parentLocalName </td><td colspan="1" rowspan="1"
class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Local name of the
parent of the Signature element.  The Signature element will be added at the end of the children
of the parent. Necessary for enveloped XML signature. If this option is null, then an enveloping
XML signature is created. See also option <tt>parentNamespace</tt>. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> parentNamespace </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Namespace of the parent
of the Signature element. See option <tt>parentLocalName</tt> </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> canonicalizationMethod </td><td
colspan="1" rowspan="1" class="confluenceTd"> <a shape
 ="rect" class="external-link" href="http://docs.oracle.com/javase/7/docs/api/javax/xml/crypto/AlgorithmMethod.html"
rel="nofollow">javax.xml.crypto.AlgorithmMethod</a> </td><td colspan="1"
rowspan="1" class="confluenceTd"> C14n </td><td colspan="1" rowspan="1" class="confluenceTd">
Canonicalization method used to canonicalize the SignedInfo element before the digest is calculated.
You can use the helper methods <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java"
rel="nofollow">XmlSignatureHelper</a>.getCanonicalizationMethod(String algorithm)
or getCanonicalizationMethod(String algorithm, List&lt;String&gt; inclusiveNamespacePrefixes)
to create a canonicalization method. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> transformMethods </td><td colspan="1" rowspan="1" class="confluenceTd">
List&lt;javax.xml.crypto.Algorithm
 Method&gt; </td><td colspan="1" rowspan="1" class="confluenceTd"> see description
</td><td colspan="1" rowspan="1" class="confluenceTd"> Transforms which are executed
on the message body before the digest is calculated. By default, C14n is added and in the
case of enveloped signature (see option <tt>parentLocalName</tt>) also <a shape="rect"
class="external-link" href="http://www.w3.org/2000/09/xmldsig#enveloped-signature" rel="nofollow">http://www.w3.org/2000/09/xmldsig#enveloped-signature</a>
is added at position 0 of the list. Use methods in <a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java"
rel="nofollow">XmlSignatureHelper</a> to create the transform methods. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> prefixForXmlSignatureNamespace </td><td
colspan="1" rowspan="1" class="confluenceTd"> String </td><td colspan="1
 " rowspan="1" class="confluenceTd"> <tt>ds</tt> </td><td colspan="1"
rowspan="1" class="confluenceTd"> Prefix for the XML signature namespace. If <tt>null</tt>
is specified or an empty string then no prefix is used for the signature namespace. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> contentReferenceUri </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
see description </td><td colspan="1" rowspan="1" class="confluenceTd"> The URI
of the reference to the signed content (in-message body). If <tt>null</tt> and
we are in the enveloped XML signature case then the URI is set to "". If <tt>null</tt>
and we are in the enveloping XML signature case then the URI is set to "generated_object_id"
which means that the reference points to the Object element containing the in-message body.
You can use this option to reference a specific part in your in-message body if you do not
want to sign the complete in-me
 ssage body. This value can be overwritten by the header "CamelXmlSignatureContentReferenceUri".
Please be aware, if you want to use a value of an XML ID attribute (example: "#ID_value"),
then you must provide the information about the ID attribute via a doctype definition contained
in the input XML document. </td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"> contentReferenceType </td><td colspan="1" rowspan="1" class="confluenceTd">
String </td><td colspan="1" rowspan="1" class="confluenceTd"> null </td><td
colspan="1" rowspan="1" class="confluenceTd"> Value of the type attribute of the content
reference. This value can be overwritten by the header "CamelXmlSignatureContentReferenceType"
</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> plainText
</td><td colspan="1" rowspan="1" class="confluenceTd"> Boolean </td><td
colspan="1" rowspan="1" class="confluenceTd"> Boolean.FALSE </td><td colspan="1"
rowspan="1" class="confluenceTd"> Indicator whether the in-m
 essage body contains plain text. Normally, the signature generator treats the incoming message
body as XML. If the message body is plain text, then you must set this option to <tt>true</tt>.
The value can be overwritten by the header "CamelXmlSignatureMessageIsPlainText". </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> plainTextEncoding </td><td colspan="1"
rowspan="1" class="confluenceTd"> String </td><td colspan="1" rowspan="1" class="confluenceTd">
null </td><td colspan="1" rowspan="1" class="confluenceTd"> Only used when the
option <tt>plainText</tt> is set to <tt>true</tt>. Then you can specify
the encoding of the plain text. If <tt>null</tt> then UTF-8 is used. The value
can be overwritten by the header "CamelXmlSignatureMessageIsPlainTextEncoding". </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> properties </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" class="external-link" href="https://github.com/apache/camel/blob/mast
 er/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java"
rel="nofollow">XmlSignatureProperties</a> </td><td colspan="1" rowspan="1"
class="confluenceTd"> null </td><td colspan="1" rowspan="1" class="confluenceTd">
For adding additional References and Objects to the XML signature which contain additional
properties, you can provide a bean which implements the <a shape="rect" class="external-link"
href="https://github.com/apache/camel/blob/master/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureProperties.java"
rel="nofollow">XmlSignatureProperties</a> interface. </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">contentObjectId</td><td colspan="1"
rowspan="1" class="confluenceTd">String</td><td colspan="1" rowspan="1" class="confluenceTd">null</td><td
colspan="1" rowspan="1" class="confluenceTd">Value of the Id attribute of the Object element.
Only used in the env
 eloped XML signature case. If <tt>null</tt> then a unique value is generated.
Available as of <b>2.12.2</b></td></tr></tbody></table>
 </div>
 
 



Mime
View raw message