소스정리
This commit is contained in:
parent
df4fb63720
commit
fbe3437fc5
@ -561,18 +561,12 @@ public class EgovLoginController {
|
||||
|
||||
if(StringUtil.isNotEmpty(loginVO.getCertNum()) && "002".equals(resultVO.getLoginTypeCd())) {
|
||||
|
||||
//수신자
|
||||
// String callTo = resultVO.getMoblphonNo();
|
||||
// String checkNo = loginVO.getCheckNo();
|
||||
// String mberId = resultVO.getId();
|
||||
|
||||
/*
|
||||
* 인증번호 비교
|
||||
* return
|
||||
* empty = "인증번호 발송 내역이 없습니다. 최고관리자에게 문의하세요."
|
||||
* success = "5분이내 발송 내역 비교, 인증번호 비교 시 일치"
|
||||
* smsCertFlag = true
|
||||
* checkNoFail = "인증번호를 확인해 주세요"
|
||||
* timeOut = "인증번호 시간이 초과되었습니다. \\n 인증번호를 다시 발송합니다."
|
||||
* Exception = "에러가 발생하였습니다. 다시 시도해 주세요. \\n 에러가 지속될 시 최고관리자에게 문의하세요.";
|
||||
* final = "exception";
|
||||
@ -589,21 +583,7 @@ public class EgovLoginController {
|
||||
return "uat/uia/EgovLoginUsr";
|
||||
} else if(result.equals("success")) {
|
||||
otpCertFlag = true;
|
||||
}
|
||||
// else if(result.equals("checkNoFail")) {
|
||||
// loginService.updatePassMissPlus(loginVO);
|
||||
// model.addAttribute("message", "인증번호를 확인해 주세요");
|
||||
// model.addAttribute("message_auth", "미허용 IP에서 접속하셨습니다. \\n등록 된 휴대폰 번호로 발송된 인증번호를 입력해주세요.");
|
||||
// model.addAttribute("mode", "본인인증");
|
||||
// model.addAttribute("id", resultVO.getId());
|
||||
// model.addAttribute("password", authSelfPw);
|
||||
//
|
||||
// //인증문자 발송
|
||||
// mjonSmsCertSendUtil.mjonSmsCertSend(callTo);
|
||||
//
|
||||
// initRsa(request);
|
||||
// return "uat/uia/EgovLoginUsr";
|
||||
else if(result.equals("timeOut")) {
|
||||
} else if(result.equals("timeOut")) {
|
||||
model.addAttribute("message", "인증번호 시간이 초과되었습니다.");
|
||||
model.addAttribute("message_auth", "미허용 IP에서 접속하셨습니다. \\n 인증번호 받기를 다시 시도해주세요.");
|
||||
model.addAttribute("mode", "OTP");
|
||||
@ -646,13 +626,6 @@ public class EgovLoginController {
|
||||
|
||||
HttpServletRequest req = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest();
|
||||
String userIp = EgovClntInfo.getClntIP(req);
|
||||
// String userIp = req.getHeader("X-FORWARDED-FOR");
|
||||
// if (userIp == null) {
|
||||
// userIp = req.getRemoteAddr();
|
||||
// }
|
||||
|
||||
// 개발중 IP 유형 테스트
|
||||
// userIp = "123.456.789.000";
|
||||
|
||||
/*
|
||||
* 관리자 로그인 유형 추가_221011
|
||||
|
||||
Loading…
Reference in New Issue
Block a user