camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [08/11] git commit: CAMEL-6796: camel-xmlsecurity - Some options is not exposed as getter/setters
Date Sat, 28 Sep 2013 11:45:51 GMT
CAMEL-6796: camel-xmlsecurity - Some options is not exposed as getter/setters


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/95912fc8
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/95912fc8
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/95912fc8

Branch: refs/heads/camel-2.12.x
Commit: 95912fc8199710d0e088e5ffebcb72609f00ecae
Parents: 93743f5
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat Sep 28 13:01:32 2013 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Sep 28 13:44:29 2013 +0200

----------------------------------------------------------------------
 .../processor/XmlSignerConfiguration.java       | 65 ++++++++++++++------
 1 file changed, 47 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/95912fc8/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
index cb8fdde..15f1158 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/processor/XmlSignerConfiguration.java
@@ -211,8 +211,7 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
      * Signature algorithm. Default value is
      * "http://www.w3.org/2000/09/xmldsig#rsa-sha1".
      * 
-     * @param signatureAlgorithm
-     *            signature algorithm
+     * @param signatureAlgorithm signature algorithm
      */
     public void setSignatureAlgorithm(String signatureAlgorithm) {
         this.signatureAlgorithm = signatureAlgorithm;
@@ -238,8 +237,7 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
      * Only relevant when a KeyInfo is returned by {@link KeyAccessor}. and
      * {@link KeyInfo#getId()} is not <code>null</code>.
      * 
-     * @param addKeyInfoReference
-     *            boolean value
+     * @param addKeyInfoReference boolean value
      */
     public void setAddKeyInfoReference(Boolean addKeyInfoReference) {
         this.addKeyInfoReference = addKeyInfoReference;
@@ -260,8 +258,7 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
      * http://www.w3.org/TR/xmldsig-bestpractices/#signing-xml-
      * without-namespaces
      * 
-     * @param prefixForXmlSignatureNamespace
-     *            prefix
+     * @param prefixForXmlSignatureNamespace prefix
      */
     public void setPrefixForXmlSignatureNamespace(String prefixForXmlSignatureNamespace)
{
         this.prefixForXmlSignatureNamespace = prefixForXmlSignatureNamespace;
@@ -270,13 +267,6 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
     public String getParentLocalName() {
         return parentLocalName;
     }
-    
-    public String getContentObjectId() {
-        if (contentObjectId == null) {
-            contentObjectId = "_" + UUID.randomUUID().toString();
-        }
-        return contentObjectId;
-    }
 
     /**
      * Local name of the parent element to which the XML signature element will
@@ -284,8 +274,7 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
      * <code>null</code>. The value must be <code>null</code> for
enveloping XML
      * signature.
      * 
-     * @param parentLocalName
-     *            local name
+     * @param parentLocalName local name
      */
     public void setParentLocalName(String parentLocalName) {
         this.parentLocalName = parentLocalName;
@@ -297,14 +286,23 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
 
     /**
      * Namespace of the parent element to which the XML signature element will
-     * be added. See {@link #setEnvelopedParentLocalName(String)}.
-     * 
-     * @param parentNamespace
+     * be added.
      */
     public void setParentNamespace(String parentNamespace) {
         this.parentNamespace = parentNamespace;
     }
 
+    public String getContentObjectId() {
+        if (contentObjectId == null) {
+            contentObjectId = "_" + UUID.randomUUID().toString();
+        }
+        return contentObjectId;
+    }
+
+    public void setContentObjectId(String contentObjectId) {
+        this.contentObjectId = contentObjectId;
+    }
+
     public String getContentReferenceUri() {
         return contentReferenceUri;
     }
@@ -361,4 +359,35 @@ public class XmlSignerConfiguration extends XmlSignatureConfiguration
{
         }
     }
 
+    public String getKeyAccessorName() {
+        return keyAccessorName;
+    }
+
+    public void setKeyAccessorName(String keyAccessorName) {
+        this.keyAccessorName = keyAccessorName;
+    }
+
+    public String getCanonicalizationMethodName() {
+        return canonicalizationMethodName;
+    }
+
+    public void setCanonicalizationMethodName(String canonicalizationMethodName) {
+        this.canonicalizationMethodName = canonicalizationMethodName;
+    }
+
+    public String getTransformMethodsName() {
+        return transformMethodsName;
+    }
+
+    public void setTransformMethodsName(String transformMethodsName) {
+        this.transformMethodsName = transformMethodsName;
+    }
+
+    public String getPropertiesName() {
+        return propertiesName;
+    }
+
+    public void setPropertiesName(String propertiesName) {
+        this.propertiesName = propertiesName;
+    }
 }


Mime
View raw message