From 7117420f38c9ef5453558fecd7e6b43702feeb1a Mon Sep 17 00:00:00 2001 From: eastargh Date: Wed, 2 Sep 2026 14:16:46 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=B9=8C=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EA=B7=9C=EC=B9=99=20=ED=94=84=EB=9D=BC?= =?UTF-8?q?=ED=8D=BC=ED=8B=B0=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/jsp/common/screen/emergency.jsp | 17 +++++++- .../rms/common/context/MonitoringContext.java | 9 ++++ .../eai/rms/common/login/MainController.java | 42 +++++++++++++++---- 3 files changed, 59 insertions(+), 9 deletions(-) diff --git a/WebContent/jsp/common/screen/emergency.jsp b/WebContent/jsp/common/screen/emergency.jsp index b503f2e..68b9132 100644 --- a/WebContent/jsp/common/screen/emergency.jsp +++ b/WebContent/jsp/common/screen/emergency.jsp @@ -7,6 +7,19 @@ <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%@ include file="/jsp/common/include/localemessage.jsp" %> +<% + // 비밀번호 규칙 안내문구용 모니터링 프로퍼티 조회 + com.eactive.eai.rms.common.context.MonitoringContext monitoringContext = + (com.eactive.eai.rms.common.context.MonitoringContext) WebApplicationContextUtils + .getRequiredWebApplicationContext(pageContext.getServletContext()) + .getBean("monitoringContext"); + int pwdLengthCheck = monitoringContext.getIntProperty( + com.eactive.eai.rms.common.context.MonitoringContext.RMS_PASSWORD_LENGTH_CHECK, 7); + int pwdCombiCheck = monitoringContext.getIntProperty( + com.eactive.eai.rms.common.context.MonitoringContext.RMS_PASSWORD_COMBI_CHECK, 2); + int pwdRepeatCheck = monitoringContext.getIntProperty( + com.eactive.eai.rms.common.context.MonitoringContext.RMS_PASSWORD_REPEAT_CHECK, 3); +%> " scope="session" /> <% @@ -481,8 +494,8 @@ " autocomplete="off" required> - ※ 7글자 이상 & 영문/숫자/특수문자 2종류 이상
- ※ 연속된 숫자/문자(예: 123, abc, qwer), 동일 문자 3자 이상 반복 사용 불가 + ※ <%= pwdLengthCheck %>글자 이상 & 영문/숫자/특수문자 <%= pwdCombiCheck %>종류 이상
+ ※ 연속된 숫자/문자(예: 123, abc, qwer) 사용 불가<%= pwdRepeatCheck >= 2 ? ", 동일 문자 " + pwdRepeatCheck + "자 이상 반복 불가" : "" %>