Commit b8e666eb by 朱海

[chg]安全修复

1 parent 3dd43c87
......@@ -99,6 +99,11 @@
<groupId>org.elasticsearch.client</groupId>
<version>8.15.5</version>
</dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>3.0.5</version>
</dependency>
<dependency>
<groupId>com.viontech.keliu</groupId>
......
package com.viontech.match;
import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@EnableEncryptableProperties
@ComponentScan(basePackages = {"com.viontech"})public class MatchApp {
public static void main(String[] args) {
......
......@@ -6,3 +6,7 @@ spring:
date-format: yyyy-MM-dd HH:mm:ss
default-property-inclusion: non_null
jasypt:
encryptor:
password: ${JASYPT_ENCRYPTOR_PASSWORD}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!