You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/11/06 06:03:29 UTC

[incubator-servicecomb-docs] 01/02: [SCB-1009]Supporting configure encrypted password for proxy settings

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

ningjiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-docs.git

commit 0e6f4a563dfbb758ace5b48dafeb5439f23797da
Author: liubao <ba...@huawei.com>
AuthorDate: Mon Nov 5 19:59:51 2018 +0800

    [SCB-1009]Supporting configure encrypted password for proxy settings
---
 java-chassis-reference/en_US/general-development/dai-li-she-zhi.md | 2 ++
 java-chassis-reference/zh_CN/general-development/dai-li-she-zhi.md | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/java-chassis-reference/en_US/general-development/dai-li-she-zhi.md b/java-chassis-reference/en_US/general-development/dai-li-she-zhi.md
index 3ff8458..986ddb4 100644
--- a/java-chassis-reference/en_US/general-development/dai-li-she-zhi.md
+++ b/java-chassis-reference/en_US/general-development/dai-li-she-zhi.md
@@ -14,6 +14,8 @@ servicecomb:
     passwd: yourpassword #password
 ```
 
+Configure password using encryption is supported using SPI. The SPI intrface is org.apache.servicecomb.foundation.common.encrypt.Encryption. Users can implement decode interface.
+
 **Note: Currently only supports connection service center, configuration center support agent. If you connect other three-party services, you can read this configuration, configure the agent yourself, vertx httpclient supports proxy settings, for example: **
 
 ```java
diff --git a/java-chassis-reference/zh_CN/general-development/dai-li-she-zhi.md b/java-chassis-reference/zh_CN/general-development/dai-li-she-zhi.md
index 2b6f45e..ad535f2 100644
--- a/java-chassis-reference/zh_CN/general-development/dai-li-she-zhi.md
+++ b/java-chassis-reference/zh_CN/general-development/dai-li-she-zhi.md
@@ -14,6 +14,8 @@ servicecomb:
     passwd: yourpassword    #密码
 ```
 
+有些用户需要通过加密保护密码信息。可以通过实现SPI扩展来实现。需要扩展的SPI接口名称为:org.apache.servicecomb.foundation.common.encrypt.Encryption,实现decode接口即可。
+
 **注意:当前仅支持连接服务中心、配置中心支持代理,如果对接其他三方服务,可以读取这个配置,自行配置代理,vertx httpclient支持代理设置,例如:**
 
 ```java