编写版本:v3.5.3
适用版本:所有
数据库密码如何将密码加密
- 使用
com.ak.iform.base.core.encrypt.EncryptUtil.encrypt(String)生成密文; - oauth/platform/business/boot等4个服务中在
application-app.yml文件中添加加密配置配置项db.encrypt: true - 修改数据源配置文件
dataSource-*.xml中<password>root</password>节点的内容使用密文替换
如何生成密文可参考:
com.ak.iform.skeleton.test.DatabaseUtil
作者:hugh 创建时间:2024-01-03 10:29
最后编辑:hugh 更新时间:2025-08-05 15:59
最后编辑:hugh 更新时间:2025-08-05 15:59