Commit c2570541 authored by AfirSraftGarrier's avatar AfirSraftGarrier

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

parent 87b0eb45
......@@ -87,6 +87,11 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>com.github.ulisesbocchio</groupId>
<artifactId>jasypt-spring-boot-starter</artifactId>
<version>3.0.3</version>
</dependency>
</dependencies>
<build>
......
......@@ -5,4 +5,8 @@ spring:
name: iot_license #当前服务的名称
## 配置输出日志
logging:
config: classpath:logback-spring.xml
\ No newline at end of file
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