This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3b806bd597f0abd616bb2287851f99eb14b5244e Author: davsclaus <davscl...@users.noreply.github.com> AuthorDate: Fri Sep 3 09:48:52 2021 +0000 Regen for commit d44a48596c5a1939f5cbb6c700fe3f87c9de5586 Signed-off-by: GitHub <nore...@github.com> --- docs/components/modules/others/pages/jasypt.adoc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/components/modules/others/pages/jasypt.adoc b/docs/components/modules/others/pages/jasypt.adoc index 08ca323..05ca063 100644 --- a/docs/components/modules/others/pages/jasypt.adoc +++ b/docs/components/modules/others/pages/jasypt.adoc @@ -53,7 +53,7 @@ tooling to encrypt or decrypt values. The console output the syntax and which options it provides: -[source,java] +[source,text] -------------------------------------------------------------- Apache Camel Jasypt takes the following options @@ -69,7 +69,7 @@ parameters. In the apache camel kit, you cd into the lib folder and run the following java cmd, where _<CAMEL_HOME>_ is where you have downloaded and extract the Camel distribution. -[source,java] +[source,bash] ---------------------------------------------------------------- $ cd <CAMEL_HOME>/lib $ java -jar camel-jasypt-2.5.0.jar -c encrypt -p secret -i tiger @@ -77,7 +77,7 @@ $ java -jar camel-jasypt-2.5.0.jar -c encrypt -p secret -i tiger Which outputs the following result -[source,java] +[source,text] ---------------------------------------- Encrypted text: qaEEacuW7BUti8LcMgyjKw== ---------------------------------------- @@ -92,7 +92,7 @@ correct original value. So you can test it by running the tooling using the following parameters: -[source,java] +[source,bash] ----------------------------------------------------------------------------------- $ cd <CAMEL_HOME>/lib $ java -jar camel-jasypt-2.5.0.jar -c decrypt -p secret -i qaEEacuW7BUti8LcMgyjKw== @@ -100,7 +100,7 @@ $ java -jar camel-jasypt-2.5.0.jar -c decrypt -p secret -i qaEEacuW7BUti8LcMgyjK Which outputs the following result: -[source,java] +[source,text] --------------------- Decrypted text: tiger --------------------- @@ -119,14 +119,14 @@ When running jasypt tooling, if you come across `java.lang.NoClassDefFoundError: The options below are exclusive for the Jasypt component. -[width="100%",cols="10%,10%,10%,70%",options="header",] +[width="100%",cols="10%m,10%m,10%m,70%",options="header",] |======================================================================= |Name |Default Value |Type |Description -|`password` |`null` |`String` |Specifies the master password to use for decrypting. This option is +| password | | string |Specifies the master password to use for decrypting. This option is mandatory. See below for more details. -|`algorithm` |`null` |`String` |Name of an optional algorithm to use. +| algorithm | | string |Name of an optional algorithm to use. |======================================================================= @@ -144,7 +144,7 @@ system property. For example you could provided the password before you start the application -[source,java] +[source,bash] ----------------------------------------- $ export CAMEL_ENCRYPTION_PASSWORD=secret ----------------------------------------- @@ -153,7 +153,7 @@ Then start the application, such as running the start script. When the application is up and running you can unset the environment -[source,java] +[source,bash] --------------------------------- $ unset CAMEL_ENCRYPTION_PASSWORD --------------------------------- @@ -200,7 +200,7 @@ inside the `<camelContext>` tag which is shown below. Notice how we use the `propertiesParserRef` attribute to refer to Jasypt. -[source,java] +[source,xml] -------------------------------------------------------------------------------------------------------------- <!-- define the jasypt properties parser with the given password to be used --> <bean id="jasypt" class="org.apache.camel.component.jasypt.JasyptPropertiesParser">