From a603b14baacb86e6604bf23833403d29de16ab7b Mon Sep 17 00:00:00 2001 From: oscerd <5106647+oscerd@users.noreply.github.com> Date: Wed, 16 Sep 2026 00:53:19 +0000 Subject: [PATCH] [create-pull-request] automated change --- .../camel/springboot/catalog/dataformats/xmlSecurity.json | 2 +- .../camel-xmlsecurity-starter/src/main/docs/xmlsecurity.json | 2 +- .../springboot/XMLSecurityDataFormatConfiguration.java | 2 +- docs/spring-boot/modules/ROOT/pages/starters/xmlsecurity.adoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/xmlSecurity.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/xmlSecurity.json index b8cbb4f35ea..c93201f54a3 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/xmlSecurity.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/xmlSecurity.json @@ -17,7 +17,7 @@ }, "properties": { "id": { "index": 0, "kind": "attribute", "displayName": "Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" }, - "xmlCipherAlgorithm": { "index": 1, "kind": "attribute", "displayName": "Xml Cipher Algorithm", "group": "common", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "TRIPLEDES", "AES_128", "AES_128_GCM", "AES_192", "AES_192_GCM", "AES_256", "AES_256_GCM", "SEED_128", "CAMELLIA_128", "CAMELLIA_192", "CAMELLIA_256" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AES-256-GCM", "description": "The cipher algorithm to be used for encryption\/decryption of the XML message content." }, + "xmlCipherAlgorithm": { "index": 1, "kind": "attribute", "displayName": "Xml Cipher Algorithm", "group": "common", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "TRIPLEDES", "AES_128", "AES_128_GCM", "AES_192", "AES_192_GCM", "AES_256", "AES_256_GCM", "SEED_128", "CAMELLIA_128", "CAMELLIA_192", "CAMELLIA_256" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "AES_256_GCM", "description": "The cipher algorithm to be used for encryption\/decryption of the XML message content." }, "passPhrase": { "index": 2, "kind": "attribute", "displayName": "Pass Phrase", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "A String used as passPhrase to encrypt\/decrypt content." }, "passPhraseByte": { "index": 3, "kind": "attribute", "displayName": "Pass Phrase Byte", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "byte[]", "deprecated": false, "autowired": false, "secret": false, "description": "A byte used as passPhrase to encrypt\/decrypt content." }, "secureTag": { "index": 4, "kind": "attribute", "displayName": "Secure Tag", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The XPath reference to the XML Element selected for encryption\/decryption. If no tag is specified, the entire payload is encrypted\/decrypted." }, diff --git a/components-starter/camel-xmlsecurity-starter/src/main/docs/xmlsecurity.json b/components-starter/camel-xmlsecurity-starter/src/main/docs/xmlsecurity.json index 2ace7f31b8f..fd02a240607 100644 --- a/components-starter/camel-xmlsecurity-starter/src/main/docs/xmlsecurity.json +++ b/components-starter/camel-xmlsecurity-starter/src/main/docs/xmlsecurity.json @@ -456,7 +456,7 @@ "type": "java.lang.String", "description": "The cipher algorithm to be used for encryption\/decryption of the XML message content.", "sourceType": "org.apache.camel.dataformat.xmlsecurity.springboot.XMLSecurityDataFormatConfiguration", - "defaultValue": "AES-256-GCM" + "defaultValue": "AES_256_GCM" } ], "hints": [], diff --git a/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java b/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java index 9d24633dfc8..32f72bc307e 100644 --- a/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java +++ b/components-starter/camel-xmlsecurity-starter/src/main/java/org/apache/camel/dataformat/xmlsecurity/springboot/XMLSecurityDataFormatConfiguration.java @@ -39,7 +39,7 @@ public class XMLSecurityDataFormatConfiguration * The cipher algorithm to be used for encryption/decryption of the XML * message content. */ - private String xmlCipherAlgorithm = "AES-256-GCM"; + private String xmlCipherAlgorithm = "AES_256_GCM"; /** * A String used as passPhrase to encrypt/decrypt content. */ diff --git a/docs/spring-boot/modules/ROOT/pages/starters/xmlsecurity.adoc b/docs/spring-boot/modules/ROOT/pages/starters/xmlsecurity.adoc index 96c577a58eb..5a21e3eda4e 100644 --- a/docs/spring-boot/modules/ROOT/pages/starters/xmlsecurity.adoc +++ b/docs/spring-boot/modules/ROOT/pages/starters/xmlsecurity.adoc @@ -92,5 +92,5 @@ The starter supports 63 options, which are listed below. | camel.dataformat.xml-security.recipient-key-alias | The key alias to be used when retrieving the recipient's public or private key from a KeyStore when performing asymmetric key encryption or decryption. | | String | camel.dataformat.xml-security.secure-tag | The XPath reference to the XML Element selected for encryption/decryption. If no tag is specified, the entire payload is encrypted/decrypted. | | String | camel.dataformat.xml-security.secure-tag-contents | A boolean value to specify whether the XML Element is to be encrypted or the contents of the XML Element. false = Element Level, true = Element Content Level. | false | Boolean -| camel.dataformat.xml-security.xml-cipher-algorithm | The cipher algorithm to be used for encryption/decryption of the XML message content. | AES-256-GCM | String +| camel.dataformat.xml-security.xml-cipher-algorithm | The cipher algorithm to be used for encryption/decryption of the XML message content. | AES_256_GCM | String |===