Explorar el Código

nacos密码加密

dengsixing hace 1 año
padre
commit
7fc29c1ac6
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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