Parcourir la source

nacos密码加密

dengsixing il y a 1 an
Parent
commit
7fc29c1ac6
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      src/main/resources/bootstrap.yml

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

@@ -1,3 +1,8 @@
 spring:
   profiles:
-    active: dev
+    active: dev
+jasypt:
+  encryptor:
+    password: xxx #盐
+    algorithm: PBEWithMD5AndDES
+    iv-generator-classname: org.jasypt.iv.NoIvGenerator