summaryrefslogtreecommitdiff
path: root/docs/connector/config-encryption-decryption.md
diff options
context:
space:
mode:
author窦凤虎 <[email protected]>2024-11-01 10:14:03 +0000
committer窦凤虎 <[email protected]>2024-11-01 10:14:03 +0000
commitf7cec560def3981d52f25fc038aab3d4308d4bd1 (patch)
tree1bebf6ee0210b7d5fa50b43e75a5f54a37639177 /docs/connector/config-encryption-decryption.md
parentc0b9acfc3adc85abbd06207259b2515edc5c4eae (diff)
parent7868728ddbe3dc08263b1d21b5ffce5dcd9b8052 (diff)
Merge branch 'release/1.7.0' into 'master'v1.7.0master
[feature][bootstrap][common]node新增tags属性用于分流,需要与downstream相对应。rules中name标签修改为t... See merge request galaxy/platform/groot-stream!128
Diffstat (limited to 'docs/connector/config-encryption-decryption.md')
-rw-r--r--docs/connector/config-encryption-decryption.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/connector/config-encryption-decryption.md b/docs/connector/config-encryption-decryption.md
index c2b05f6..91ca80e 100644
--- a/docs/connector/config-encryption-decryption.md
+++ b/docs/connector/config-encryption-decryption.md
@@ -127,13 +127,13 @@ Next, I'll show how to quickly use groot-stream's own `aes` encryption:
## How to implement user-defined encryption and decryption
-1. Create a new class and implement interface `ConfigShade`, this interface has the following methods:
+1. Create a new class and implement interface `CryptoShade`, this interface has the following methods:
```java
- public interface ConfigShade {
+ public interface CryptoShade {
/**
* The unique identifier of the current interface, used it to select the correct {@link
- * ConfigShade}
+ * CryptoShade}
*/
String getIdentifier();
@@ -157,6 +157,6 @@ Next, I'll show how to quickly use groot-stream's own `aes` encryption:
}
}
```
-2. Add `com.geedgenetworks.common.config.ConfigShade` in `resources/META-INF/services`
+2. Add `com.geedgenetworks.common.crypto.CryptoShade` in `resources/META-INF/services`
3. Change the option `shade.identifier` to the value that you defined in `ConfigShade#getIdentifier`of you config file.