编写版本:v3.5.3
适用版本:所有
数据库密码如何将密码加密
- 使用
com.lc.ibps.base.core.encrypt.EncryptUtil.encrypt(String)
生成密文; - oauth/platform/business/boot等4个服务中在
application-app.yml
文件中添加加密配置配置项db.encrypt: true
- 修改数据源配置文件
dataSource-*.xml
中<password>root</password>
节点的内容使用密文替换
如何生成密文可参考:
com.lc.ibps.skeleton.test.DatabaseUtil
文档更新时间: 2022-07-19 11:11 作者:Eddy