File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%--
Class Name : accessDenied.jsp
Description : 접근불가 메시지 화면(system)
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2009.02.01 lee.m.j 최초 생성
2011.08.31 JJY 경량환경 버전 생성
author : 공통서비스 개발팀 lee.m.j
since : 2009.02.01
--%>
<%@ page import="org.springframework.security.core.context.SecurityContextHolder" %>
<%@ page import="org.springframework.security.core.Authentication" %>
<%@ page import="org.springframework.security.web.access.AccessDeniedHandlerImpl" %>
<%@ page isErrorPage="true"%>
<%@ page contentType="text/html; charset=euc-kr" %>
<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>
<%@ page import="egovframework.rte.fdl.string.EgovStringUtil" %>
<%@ page import="java.lang.String" %>
<%
boolean authenticateFail = false;
if(request.getAttribute("authenticateFail")!=null && !request.getAttribute("authenticateFail").toString().equals("")){
authenticateFail = true;
}
boolean authFail = false;
if(request.getAttribute("authFail")!=null && !request.getAttribute("authFail").toString().equals("")){
authFail = true;
}
String target = EgovStringUtil.null2void((String)request.getAttribute("target"));
target = target.equals("") ? "_top" : target;
%>
<!DOCTYPE html>
<html>
<head>
<title>Access is denied</title>
<%-- <link rel="stylesheet" href="<c:url value='/css/admin.css'/>" type="text/css"> --%>
<!-- css -->
<link rel="stylesheet" href="/kccadrPb/usr/css/reset.css">
<link rel="stylesheet" href="/kccadrPb/usr/css/font.css">
<link rel="stylesheet" href="/kccadrPb/usr/css/common.css">
</head>
<script type="text/javascript">
function fncGoAfterErrorPage(){
if('<%=authenticateFail%>' == 'true' ){
document.dummyForm.target="_top";
document.dummyForm.action = "<c:url value='/empaftererrorpage.do'/>";
document.dummyForm.submit();
}else if('<%=authFail%>' == 'true'){
document.dummyForm.target="<%=target%>";
document.dummyForm.action = "<c:url value='/empaftererrorpage.do'/>";
document.dummyForm.submit();
}else{
//document.location.href = "<c:url value='/empaftererrorpage.do'/>";
history.back(-2);
}
}
</script>
<body>
<div class="error_page">
<div class="error_wrap">
<i></i>
<div class="text_area">
<h1>페이지가 <em>없거나 잘못된 경로</em>입니다.</h1>
<p>경로를 다시 확인하시고 이용해 주시기 바랍니다. <br> 이용에 불편을 드려 대단히 죄송합니다.</p>
</div>
</div>
<div class="error_btn">
<button type="button" class="error_btn" onclick="javascript:fncGoAfterErrorPage(); return false;">이전 페이지</button>
</div>
</div>
</body>
</html>