diff --git a/pom.xml b/pom.xml index d7e89591..e59ccf00 100644 --- a/pom.xml +++ b/pom.xml @@ -106,7 +106,7 @@ 1.5.0 - generate- + generate-docs process-resources process-asciidoc @@ -169,6 +169,101 @@ + + full + + + + org.apache.maven.plugins + maven-antrun-plugin + false + + + ant-contrib + ant-contrib + 1.0b3 + + + ant + ant + + + + + org.apache.ant + ant-nodeps + 1.8.1 + + + org.tigris.antelope + antelopetasks + 3.2.10 + + + + + package-and-attach-docs-zip + package + + run + + + + + + + + + + + setup-maven-properties + validate + + run + + + true + + + + + + + + + + + + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + attach-zip + + attach-artifact + + + + + ${project.build.directory}/${project.artifactId}-${project.version}.zip + zip;zip.type=docs;zip.deployed=false + + + + + + + + + diff --git a/src/main/asciidoc/spring-cloud-config.adoc b/src/main/asciidoc/spring-cloud-config.adoc index 8d1cfa27..33e960ad 100644 --- a/src/main/asciidoc/spring-cloud-config.adoc +++ b/src/main/asciidoc/spring-cloud-config.adoc @@ -17,6 +17,12 @@ server is easily embeddable in a Spring Boot application using the === Encryption and Decryption +IMPORTANT: **Prerequisites:** to use the encryption and decryption features +you need the full-strength JCE installed in your JVM (it's not there by default). +You can download the "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" +from Oracle, and follow instructions for installation (essentially replace the 2 policy files +in the JRE lib/security directory with the ones that you downloaded). + The server exposes `/encrypt` and `/decrypt` endpoints (on the assumption that these will be secured and only accessed by authorized agents). If the remote property sources contain encryted content