添加属性加密样例
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# jasypt
|
||||
jasypt:
|
||||
encryptor:
|
||||
# 密码
|
||||
password: xtools
|
||||
# 算法
|
||||
algorithm: PBEWithMD5AndDES
|
||||
# iv
|
||||
iv-generator-classname: org.jasypt.iv.NoIvGenerator
|
||||
# 属性
|
||||
property:
|
||||
# 前缀
|
||||
prefix: "ENC("
|
||||
# 后缀
|
||||
suffix: ")"
|
||||
@@ -8,16 +8,17 @@ spring:
|
||||
profiles:
|
||||
active:
|
||||
# Boot
|
||||
- boot-jasypt
|
||||
- boot-base
|
||||
- boot-db
|
||||
# - boot-druid
|
||||
# - boot-druid
|
||||
- boot-hikari
|
||||
- boot-elasticsearch
|
||||
- boot-knife4j
|
||||
- boot-log
|
||||
- boot-mybatis-plus
|
||||
- boot-rabbitmq
|
||||
# - boot-kafka
|
||||
# - boot-kafka
|
||||
- boot-redis
|
||||
- boot-xxl-job
|
||||
- boot-storage
|
||||
|
||||
Reference in New Issue
Block a user