瀏覽代碼

密码加密

dengsixing 1 年之前
父節點
當前提交
11c71a9256
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      xxl-job-admin/src/main/resources/bootstrap.yml

+ 7 - 1
xxl-job-admin/src/main/resources/bootstrap.yml

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