|
@@ -77,15 +77,14 @@ public class TbWwwMember implements Serializable {
|
|
|
@Column(name = "DEL_YN", columnDefinition = "CHAR", length = 1)
|
|
|
private String delYn;
|
|
|
|
|
|
- public String getPassword() {
|
|
|
- return this.pwd;
|
|
|
- }
|
|
|
-
|
|
|
public void setPassword(String password) {
|
|
|
if (!this.pwd.equals(password)) {
|
|
|
this.pwd = SHA256Util.encrypt(password);
|
|
|
}
|
|
|
}
|
|
|
+ public void encryptPwd(String password) {
|
|
|
+ this.pwd = SHA256Util.encrypt(password);
|
|
|
+ }
|
|
|
public void setAccountLockFree() {
|
|
|
this.loginFailCount = 0;
|
|
|
this.isAccountLock = "N";
|
|
@@ -112,19 +111,19 @@ public class TbWwwMember implements Serializable {
|
|
|
this.email = email;
|
|
|
}
|
|
|
|
|
|
- public void updateInfo(TbWwwMemberDto.TbWwwMemberUpdReq req) {
|
|
|
- this.name = req.getName();
|
|
|
- this.pwd = req.getPwd();
|
|
|
- setPassword(req.getPwd());
|
|
|
- this.contactNum = req.getContactNum();
|
|
|
- this.userAuth = req.getUserAuth();
|
|
|
- this.hintQues = req.getHintQues();
|
|
|
- this.hintAns = req.getHintAns();
|
|
|
- this.loginFailCount = req.getLoginFailCount();
|
|
|
- this.isAccountLock = req.getIsAccountLock();
|
|
|
- this.ipAddress = req.getIpAddress();
|
|
|
- this.regDt = req.getRegDt();
|
|
|
- this.delYn = req.getDelYn();
|
|
|
- }
|
|
|
+// public void updateInfo(TbWwwMemberDto.TbWwwMemberUpdReq req) {
|
|
|
+// this.name = req.getName();
|
|
|
+// this.pwd = req.getPwd();
|
|
|
+// setPassword(req.getPwd());
|
|
|
+// this.contactNum = req.getContactNum();
|
|
|
+// this.userAuth = req.getUserAuth();
|
|
|
+// this.hintQues = req.getHintQues();
|
|
|
+// this.hintAns = req.getHintAns();
|
|
|
+// this.loginFailCount = req.getLoginFailCount();
|
|
|
+// this.isAccountLock = req.getIsAccountLock();
|
|
|
+// this.ipAddress = req.getIpAddress();
|
|
|
+// this.regDt = req.getRegDt();
|
|
|
+// this.delYn = req.getDelYn();
|
|
|
+// }
|
|
|
|
|
|
}
|