From 0078f55c9626684c5f6669617bcf1b672ec4c439 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Tue, 22 Mar 2016 13:52:31 +0000 Subject: [PATCH] Correct location of encryption features --- docs/src/main/asciidoc/spring-cloud-commons.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-commons.adoc b/docs/src/main/asciidoc/spring-cloud-commons.adoc index 61f20602..2f0f3bb5 100644 --- a/docs/src/main/asciidoc/spring-cloud-commons.adoc +++ b/docs/src/main/asciidoc/spring-cloud-commons.adoc @@ -264,14 +264,14 @@ re-initialized from the refreshed `@Configuration`). === Encryption and Decryption -The Config Client has an `Environment` pre-processor for decrypting +Spring Cloud has an `Environment` pre-processor for decrypting property values locally. It follows the same rules as the Config Server, and has the same external configuration via `encrypt.\*`. Thus you can use encrypted values in the form `{cipher}*` and as long as there is a valid key then they will be decrypted before the main application context gets the `Environment`. To use the encryption -features in a client you need to include Spring Security RSA in your -classpath (Maven co-ordinates +features in an application you need to include Spring Security RSA in +your classpath (Maven co-ordinates "org.springframework.security:spring-security-rsa") and you also need the full strength JCE extensions in your JVM.