mirror of https://gitee.com/topiam/eiam
♻️ 使用 DigestUtils 替代 Md5Utils
parent
414bfcd5aa
commit
9c022bd49f
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
package cn.topiam.employee.synchronizer.configuration;
|
package cn.topiam.employee.synchronizer.configuration;
|
||||||
|
|
||||||
import cn.topiam.employee.support.util.Md5Utils;
|
import org.apache.commons.codec.digest.DigestUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IdentitySourceBeanUtils
|
* IdentitySourceBeanUtils
|
||||||
|
@ -34,6 +34,6 @@ public class IdentitySourceBeanUtils {
|
||||||
* @return {@link String}
|
* @return {@link String}
|
||||||
*/
|
*/
|
||||||
public static String getSourceBeanName(String id) {
|
public static String getSourceBeanName(String id) {
|
||||||
return "identitySourceBean_" + Md5Utils.md516(id);
|
return "identitySourceBean_" + DigestUtils.md5Hex(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue