Ver código fonte

Merge branch 'hotfix-nacos加解密' into test

dengsixing 1 ano atrás
pai
commit
4ce430cb02
1 arquivos alterados com 7 adições e 1 exclusões
  1. 7 1
      src/main/resources/bootstrap.yml

+ 7 - 1
src/main/resources/bootstrap.yml

@@ -2,4 +2,10 @@ spring:
   profiles:
     active: test
   application:
-    name: model-control
+    name: model-control
+
+jasypt:
+  encryptor:
+    password: xxx #盐
+    algorithm: PBEWithMD5AndDES
+    iv-generator-classname: org.jasypt.iv.NoIvGenerator