From 9c022bd49fafd515c696202bb7c5d98050c399be Mon Sep 17 00:00:00 2001 From: smallbun <2689170096@qq.com> Date: Mon, 14 Aug 2023 22:43:55 +0800 Subject: [PATCH] =?UTF-8?q?:recycle:=20=E4=BD=BF=E7=94=A8=20DigestUtils=20?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=20Md5Utils?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../synchronizer/configuration/IdentitySourceBeanUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eiam-synchronizer/src/main/java/cn/topiam/employee/synchronizer/configuration/IdentitySourceBeanUtils.java b/eiam-synchronizer/src/main/java/cn/topiam/employee/synchronizer/configuration/IdentitySourceBeanUtils.java index 6756ede1..b68f88cb 100644 --- a/eiam-synchronizer/src/main/java/cn/topiam/employee/synchronizer/configuration/IdentitySourceBeanUtils.java +++ b/eiam-synchronizer/src/main/java/cn/topiam/employee/synchronizer/configuration/IdentitySourceBeanUtils.java @@ -17,7 +17,7 @@ */ package cn.topiam.employee.synchronizer.configuration; -import cn.topiam.employee.support.util.Md5Utils; +import org.apache.commons.codec.digest.DigestUtils; /** * IdentitySourceBeanUtils @@ -34,6 +34,6 @@ public class IdentitySourceBeanUtils { * @return {@link String} */ public static String getSourceBeanName(String id) { - return "identitySourceBean_" + Md5Utils.md516(id); + return "identitySourceBean_" + DigestUtils.md5Hex(id); } }