فهرست منبع

更新加密配置

woody 1 سال پیش
والد
کامیت
6a99fde6d6
2فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 0 6
      vehicle-server/src/main/resources/application.yml
  2. 7 1
      vehicle-server/src/main/resources/bootstrap.yml

+ 0 - 6
vehicle-server/src/main/resources/application.yml

@@ -23,12 +23,6 @@ spring:
       maximum-pool-size: 5
       max-lifetime: 60000
 
-jasypt:
-  encryptor:
-    password: ${JASYPT_ENCRYPTOR_PASSWORD}
-    algorithm: PBEWithMD5AndDES
-    iv-generator-classname: org.jasypt.iv.NoIvGenerator
-
 mybatis-plus:
   mapper-locations: classpath:mapper/*.xml
   global-config:

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

@@ -1,2 +1,8 @@
 logging:
-  config: classpath:logback-spring.xml
+  config: classpath:logback-spring.xml
+
+jasypt:
+  encryptor:
+    password: ${JASYPT_ENCRYPTOR_PASSWORD}
+    algorithm: PBEWithMD5AndDES
+    iv-generator-classname: org.jasypt.iv.NoIvGenerator