Commit c2570541 authored by AfirSraftGarrier's avatar AfirSraftGarrier

2.2.4 密码管理:配置文件中的明文密码

parent 87b0eb45
...@@ -87,6 +87,11 @@ ...@@ -87,6 +87,11 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId> <artifactId>spring-boot-starter-aop</artifactId>
</dependency> </dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>3.0.3</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
......
...@@ -6,3 +6,7 @@ spring: ...@@ -6,3 +6,7 @@ spring:
## 配置输出日志 ## 配置输出日志
logging: logging:
config: classpath:logback-spring.xml config: classpath:logback-spring.xml
jasypt:
encryptor:
password: acc
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment