编写版本:v3.5.3
适用版本:所有

数据库密码如何将密码加密

  1. 使用com.lc.ibps.base.core.encrypt.EncryptUtil.encrypt(String)生成密文;
  2. oauth/platform/business/boot等4个服务中在application-app.yml文件中添加加密配置配置项db.encrypt: true
  3. 修改数据源配置文件dataSource-*.xml<password>root</password>节点的内容使用密文替换

如何生成密文可参考: com.lc.ibps.skeleton.test.DatabaseUtil

作者:Eddy  创建时间:2022-07-19 10:47
 更新时间:2022-07-19 11:11