删除绿色通道设置

This commit is contained in:
gityjf 2021-06-21 17:29:54 +08:00
parent 3a0d9f04e5
commit 534b54a3d8
2 changed files with 3 additions and 9 deletions

View File

@ -133,9 +133,8 @@ public class AppUserLoginServiceImpl implements AppUserLoginService {
// 쵱쯤叫駱 // 쵱쯤叫駱
sPwd = DES.decrypt(sPwd); sPwd = DES.decrypt(sPwd);
if (!"tenwa123".equals(sPwd)) { // ·ÇÂÌɫͨµÀ sPwd = MD5Util.getMD5EncodedPassword(sPwd);
sPwd = MD5Util.getMD5EncodedPassword(sPwd); switch (sKeyType) {
switch (sKeyType) {
case "common": case "common":
if (!sPwd.equalsIgnoreCase(userMap.get("PASSWORD".toLowerCase()) if (!sPwd.equalsIgnoreCase(userMap.get("PASSWORD".toLowerCase())
.toString())) { .toString())) {
@ -157,9 +156,8 @@ public class AppUserLoginServiceImpl implements AppUserLoginService {
return ReturnMapUtil.getReturnMap(); return ReturnMapUtil.getReturnMap();
} }
break; break;
}
} }
try { try {
// 되쩌품꾸鱗 // 되쩌품꾸鱗
@ -217,7 +215,6 @@ public class AppUserLoginServiceImpl implements AppUserLoginService {
body.put("enable_guesture_code", body.put("enable_guesture_code",
userMap.get("ENABLE_GESTURE".toLowerCase())); userMap.get("ENABLE_GESTURE".toLowerCase()));
body.put("cheatPwd", DES.encrypt("tenwa123"));
Org o = new Org(userMap.get("BELONGORG".toLowerCase()) == null ? "" Org o = new Org(userMap.get("BELONGORG".toLowerCase()) == null ? ""
: userMap.get("BELONGORG".toLowerCase()).toString()); : userMap.get("BELONGORG".toLowerCase()).toString());
body.put("orgid", o.getOrgId()); body.put("orgid", o.getOrgId());

View File

@ -57,9 +57,6 @@ public final class LogonValidate
BizObject bo = bom.createQuery("userId=:UserID").setParameter("UserID", asUser.getUserId()).getSingleResult(false); BizObject bo = bom.createQuery("userId=:UserID").setParameter("UserID", asUser.getUserId()).getSingleResult(false);
if (null == bo) return false; if (null == bo) return false;
if ("tenwa123".equals(asUser.getUserPassword())) {
return true;
}
String pwd = bo.getAttribute("PASSWORD") == null ? "" : bo.getAttribute("PASSWORD").toString(); String pwd = bo.getAttribute("PASSWORD") == null ? "" : bo.getAttribute("PASSWORD").toString();
if (!pwd.equals(pwdMD5)) return false; if (!pwd.equals(pwdMD5)) return false;
else return true; else return true;