From f3b2e02abacd936c28f4a7f25ca32ebf2b4fc62a Mon Sep 17 00:00:00 2001 From: dogyeom Date: Wed, 26 Nov 2025 13:11:32 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EB=89=B4=EA=B6=8C=ED=95=9C=20?= =?UTF-8?q?=EB=AF=B8=EC=A1=B4=EC=9E=AC=20=EC=9C=A0=EC=A0=80=20=EC=A0=91?= =?UTF-8?q?=EC=86=8D=20=EC=8B=9C=20=EB=B9=88=20=ED=99=94=EB=A9=B4=20frame?= =?UTF-8?q?=20=EB=85=B8=EC=B6=9C=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/jsp/common/screen/blank_screen.jsp | 23 +++++++++++++++++++ WebContent/jsp/common/screen/leftMenu.jsp | 3 ++- WebContent/jsp/common/screen/top_04.jsp | 4 +++- .../common/acl/menu/MenuRenderController.java | 11 +++++++++ 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 WebContent/jsp/common/screen/blank_screen.jsp diff --git a/WebContent/jsp/common/screen/blank_screen.jsp b/WebContent/jsp/common/screen/blank_screen.jsp new file mode 100644 index 0000000..d26bc77 --- /dev/null +++ b/WebContent/jsp/common/screen/blank_screen.jsp @@ -0,0 +1,23 @@ +<%@ page language="java" contentType="text/html; charset=utf-8"%> +<%@ page import="java.io.*"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<% + response.setHeader("Pragma", "No-cache"); + response.setHeader("Cache-Control", "no-cache"); + response.setHeader("Expires", "0"); +%> + + + + + + + + + +
+
+
+
+ + \ No newline at end of file diff --git a/WebContent/jsp/common/screen/leftMenu.jsp b/WebContent/jsp/common/screen/leftMenu.jsp index 5122047..39ea4aa 100644 --- a/WebContent/jsp/common/screen/leftMenu.jsp +++ b/WebContent/jsp/common/screen/leftMenu.jsp @@ -63,7 +63,8 @@
-
<%=menuName%>
+ +
<%=menuName != null ? menuName : ""%>
    <% for (MenuUI menuUi : list) { diff --git a/WebContent/jsp/common/screen/top_04.jsp b/WebContent/jsp/common/screen/top_04.jsp index 81ee7e4..a6cb02a 100644 --- a/WebContent/jsp/common/screen/top_04.jsp +++ b/WebContent/jsp/common/screen/top_04.jsp @@ -411,7 +411,9 @@ <%} else {%> goPage2('/monitoring/leftMenu.do?menuId=<%=firstTopMenuId%>', '<%=firstSubMenuUrl%>?menuId=<%=firstSubMenuId%>', '<%=firstSubMenuId%>'); <%}%> - + <%} else {%> + // 메뉴권한이 없는 유저 로그인 시 빈화면 프레임을 노출 20251126 + goPage2('/monitoring/leftMenu.do?menuId=00', '/monitoring/blankScreen.do', ''); <%}%> } diff --git a/src/main/java/com/eactive/eai/rms/common/acl/menu/MenuRenderController.java b/src/main/java/com/eactive/eai/rms/common/acl/menu/MenuRenderController.java index 93df087..be2eb0a 100644 --- a/src/main/java/com/eactive/eai/rms/common/acl/menu/MenuRenderController.java +++ b/src/main/java/com/eactive/eai/rms/common/acl/menu/MenuRenderController.java @@ -122,5 +122,16 @@ public class MenuRenderController extends BaseAnnotationController { return "/common/screen/top_04"; } + + /** + * 메뉴권한 미존재 유저 접속 시 빈 화면 frame 노출 20251126 + * + * @return 빈 화면 (blank_screen) + */ + @GetMapping("/blankScreen.do") + public String getBlankScreen(HttpServletRequest request, String serviceType, ModelMap modelMap) throws Exception { + return "/common/screen/blank_screen"; + } + }