From e55b7a6bf2797bacc7419432b4dabf4a82824148 Mon Sep 17 00:00:00 2001 From: Rinjae-gf63 Date: Wed, 26 Aug 2026 17:10:13 +0900 Subject: [PATCH] =?UTF-8?q?-=20=EB=B3=B8=EC=9D=B8=ED=99=95=EC=9D=B8=20?= =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20=EC=8B=A4=ED=8C=A8=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20-=20=EA=B3=84=EC=A0=95=20=EC=B0=A8=EB=8B=A8/?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=95=84=EC=9B=83=20=EB=A9=94=EC=8B=9C?= =?UTF-8?q?=EC=A7=80=20=EB=B3=B4=EC=95=88=20=ED=91=9C=ED=98=84=20=EA=B0=95?= =?UTF-8?q?=ED=99=94=20-=20=EB=A1=9C=EA=B7=B8=20=EB=B0=8F=20=EA=B3=84?= =?UTF-8?q?=EC=A0=95=20=EC=B0=A8=EB=8B=A8=20=EC=82=AC=EC=9C=A0=20=EB=A9=94?= =?UTF-8?q?=EC=8B=9C=EC=A7=80=20=EA=B0=80=EB=8F=85=EC=84=B1=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../security/PasswordConfirmFailureTracker.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/eactive/apim/portal/common/security/PasswordConfirmFailureTracker.java b/src/main/java/com/eactive/apim/portal/common/security/PasswordConfirmFailureTracker.java index ba38cf0..ca9f53e 100644 --- a/src/main/java/com/eactive/apim/portal/common/security/PasswordConfirmFailureTracker.java +++ b/src/main/java/com/eactive/apim/portal/common/security/PasswordConfirmFailureTracker.java @@ -74,8 +74,9 @@ public class PasswordConfirmFailureTracker { if (failCount < limit) { return new Outcome(failCount, limit, false, false, - "현재 비밀번호가 일치하지 않습니다. (초과 시 자동 " - + (policy.action() == Action.LOCK ? "차단" : "로그아웃") + "됩니다)"); + policy.action() == Action.LOCK + ? "현재 비밀번호가 일치하지 않습니다. 보안을 위해 반복 실패 시 계정 이용이 제한됩니다." + : "현재 비밀번호가 일치하지 않습니다. 보안을 위해 반복 실패 시 자동 로그아웃됩니다."); } boolean locked = false; @@ -84,12 +85,12 @@ public class PasswordConfirmFailureTracker { } forceLogout(session, request, response); - log.warn("본인확인 비밀번호 {}회 실패로 {} 처리", failCount, locked ? "계정 차단" : "강제 로그아웃"); + log.warn("본인확인 비밀번호 반복 실패로 {} 처리", locked ? "계정 차단" : "강제 로그아웃"); return new Outcome(failCount, limit, true, locked, locked - ? "비밀번호 확인 " + limit + "회 실패로 계정이 차단되었습니다. 관리자에게 문의해 주세요." - : "비밀번호 확인 " + limit + "회 실패로 로그아웃되었습니다."); + ? "비밀번호 확인 반복 실패로 계정이 차단되었습니다. 관리자에게 문의해 주세요." + : "비밀번호 확인 반복 실패로 로그아웃되었습니다."); } private int increment(HttpSession session) { @@ -117,7 +118,7 @@ public class PasswordConfirmFailureTracker { user.setLoginFailureCount(limit); portalUserRepository.save(user); } - accountLockService.lock(user, "본인확인 비밀번호 " + limit + "회 실패로 인한 계정 차단"); + accountLockService.lock(user, "본인확인 비밀번호 반복 실패로 인한 계정 차단"); return true; }