You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/11/23 12:21:59 UTC

(camel) branch xmlsecurity-4.0.0 created (now 085cc374be1)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch xmlsecurity-4.0.0
in repository https://gitbox.apache.org/repos/asf/camel.git


      at 085cc374be1 Upgrade XMLSecurity to version 4.0.0

This branch includes the following new commits:

     new 085cc374be1 Upgrade XMLSecurity to version 4.0.0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel) 01/01: Upgrade XMLSecurity to version 4.0.0

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch xmlsecurity-4.0.0
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 085cc374be1441452f07752c2acd7e937e7efc4c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 23 13:21:10 2023 +0100

    Upgrade XMLSecurity to version 4.0.0
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../camel/component/xmlsecurity/XmlSignatureTest.java  | 18 ------------------
 parent/pom.xml                                         |  2 +-
 2 files changed, 1 insertion(+), 19 deletions(-)

diff --git a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XmlSignatureTest.java b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XmlSignatureTest.java
index f4ed76979f2..9b89187c141 100644
--- a/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XmlSignatureTest.java
+++ b/components/camel-xmlsecurity/src/test/java/org/apache/camel/component/xmlsecurity/XmlSignatureTest.java
@@ -230,17 +230,6 @@ public class XmlSignatureTest extends CamelTestSupport {
                         "xmlsecurity-verify:transformsXsltXPath?keySelector=#selector").to("mock:result");
                 // END SNIPPET: transforms XSLT,XPath
             }
-        }, new RouteBuilder() {
-            public void configure() {
-                // START SNIPPET: transforms XSLT,XPath - secure Validation
-                // disabled
-                from("direct:transformsXsltXPathSecureValDisabled")
-                        .to("xmlsecurity-sign:transformsXsltXPathSecureValDisabled?keyAccessor=#accessor&transformMethods=#transformsXsltXPath",
-                                "xmlsecurity-verify:transformsXsltXPathSecureValDisabled?keySelector=#selector&secureValidation=false")
-                        .to("mock:result");
-                // END SNIPPET: transforms XSLT,XPath - secure Validation
-                // disabled
-            }
         }, new RouteBuilder() {
             public void configure() {
                 // START SNIPPET: cryptocontextprops
@@ -559,13 +548,6 @@ public class XmlSignatureTest extends CamelTestSupport {
         checkThrownException(mock, XmlSignatureException.class, null);
     }
 
-    @Test
-    public void testSetTransformMethodXsltXpathInRouteDefinitionSecValDisabled() throws Exception {
-        setupMock();
-        sendBody("direct:transformsXsltXPathSecureValDisabled", payload);
-        MockEndpoint.assertIsSatisfied(context);
-    }
-
     @Test
     public void testProperties() throws Exception {
         setupMock();
diff --git a/parent/pom.xml b/parent/pom.xml
index 34c8a10761a..3015af3f46a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -469,7 +469,7 @@
         <xml-apis-version>1.4.01</xml-apis-version>
         <xml-apis-ext-version>1.3.04</xml-apis-ext-version>
         <xml-resolver-version>1.2</xml-resolver-version>
-        <xmlsec-version>2.2.6</xmlsec-version>
+        <xmlsec-version>4.0.0</xmlsec-version>
         <xmlunit-version>2.9.1</xmlunit-version>
         <xpp3-version>1.1.4c</xpp3-version>
         <yasson-version>3.0.3</yasson-version>