메뉴권한 미존재 유저 접속 시 빈 화면 frame 노출 처리
This commit is contained in:
@@ -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");
|
||||||
|
%>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
|
<jsp:include page="/jsp/common/include/css.jsp"/>
|
||||||
|
<jsp:include page="/jsp/common/include/script.jsp"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<!-- 메뉴권한 미존재 유저 빈 화면 frame 노출 20251126 -->
|
||||||
|
<div class="right_box">
|
||||||
|
<div class="content_top"></div>
|
||||||
|
<div class="content_middle" id="title"></div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -63,7 +63,8 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="left_box">
|
<div class="left_box">
|
||||||
<div class="title"><%=menuName%></div>
|
<!-- 메뉴명이 null일 경우 공백 노출되도록 처리 20251126 -->
|
||||||
|
<div class="title"><%=menuName != null ? menuName : ""%></div>
|
||||||
<ul class="depth3">
|
<ul class="depth3">
|
||||||
<%
|
<%
|
||||||
for (MenuUI menuUi : list) {
|
for (MenuUI menuUi : list) {
|
||||||
|
|||||||
@@ -411,7 +411,9 @@
|
|||||||
<%} else {%>
|
<%} else {%>
|
||||||
goPage2('/monitoring/leftMenu.do?menuId=<%=firstTopMenuId%>', '<%=firstSubMenuUrl%>?menuId=<%=firstSubMenuId%>', '<%=firstSubMenuId%>');
|
goPage2('/monitoring/leftMenu.do?menuId=<%=firstTopMenuId%>', '<%=firstSubMenuUrl%>?menuId=<%=firstSubMenuId%>', '<%=firstSubMenuId%>');
|
||||||
<%}%>
|
<%}%>
|
||||||
|
<%} else {%>
|
||||||
|
// 메뉴권한이 없는 유저 로그인 시 빈화면 프레임을 노출 20251126
|
||||||
|
goPage2('/monitoring/leftMenu.do?menuId=00', '/monitoring/blankScreen.do', '');
|
||||||
<%}%>
|
<%}%>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -122,5 +122,16 @@ public class MenuRenderController extends BaseAnnotationController {
|
|||||||
|
|
||||||
return "/common/screen/top_04";
|
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";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user