创建用户修改默认密码
This commit is contained in:
parent
fb1d2e13b8
commit
106c62d644
@ -49,7 +49,7 @@ public class ChannelUserInfoHandler extends CommonHandler {
|
||||
|
||||
protected void beforeInsert(JBOTransaction tx, BizObject bo) throws Exception {
|
||||
//设置初始密码000000als
|
||||
String sInitPwd = "000000als";
|
||||
String sInitPwd = "APleasing001";
|
||||
String sPassword = MessageDigest.getDigestAsUpperHexString("MD5", sInitPwd);
|
||||
bo.setAttributeValue("Password",sPassword); //如果是新增用户,设置初始密码
|
||||
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
package com.amarsoft.app.awe.config.orguser.dwhandler;
|
||||
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
import com.amarsoft.are.ARE;
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
@ -47,8 +49,8 @@ public class UserInfoHandler extends CommonHandler {
|
||||
}
|
||||
|
||||
protected void beforeInsert(JBOTransaction tx, BizObject bo) throws Exception {
|
||||
//ÉèÖóõʼÃÜÂë000000als
|
||||
String sInitPwd = "000000als";
|
||||
//ÉèÖóõʼÃÜÂë:APleasing001
|
||||
String sInitPwd = "APleasing001";
|
||||
String sPassword = MessageDigest.getDigestAsUpperHexString("MD5", sInitPwd);
|
||||
bo.setAttributeValue("Password",sPassword); //如果是新增用户,设置初始密码
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user