<%--
  ~ Copyright (C) 2005 - 2011 Jaspersoft Corporation. All rights reserved.
  ~ http://www.jaspersoft.com.
  ~
  ~ Unless you have purchased  a commercial license agreement from Jaspersoft,
  ~ the following license terms  apply:
  ~
  ~ This program is free software: you can redistribute it and/or  modify
  ~ it under the terms of the GNU Affero General Public License  as
  ~ published by the Free Software Foundation, either version 3 of  the
  ~ License, or (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  ~ GNU Affero  General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Affero General Public  License
  ~ along with this program. If not, see <http://www.gnu.org/licenses/>.
  --%>

<%@ page language="java" isErrorPage="true" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/spring" prefix="spring" %>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>

<t:insertTemplate template="/WEB-INF/jsp/templates/page.jsp">
    <t:putAttribute name="pageTitle">
        <spring:message code='jsp.accessDenied.title'/>
    </t:putAttribute>
    <t:putAttribute name="bodyID" value="accessDenied"/>
    <t:putAttribute name="bodyClass" value="oneColumn"/>
	
		<t:putAttribute name="bodyContent" >
		
			<t:insertTemplate template="/WEB-INF/jsp/templates/container.jsp">
		    	<t:putAttribute name="containerClass" value="column decorated primary"/>
			    <t:putAttribute name="containerTitle">
                    <spring:message code='jsp.accessDenied.title'/>
			    </t:putAttribute>
			    <t:putAttribute name="bodyContent">
					
					<t:insertTemplate template="/WEB-INF/jsp/templates/container.jsp">
						<t:putAttribute name="containerClass" value="panel info centered_vert centered_horz"/>
					    <t:putAttribute name="bodyContent">
							<p class="message"><spring:message code="jsp.AccessDeniedPage.message"/></p>
							<p class="message"><a href="<c:url value="/exituser.html"/>"><spring:message code="jsp.AccessDeniedPage.logout"/></a></p>
					    </t:putAttribute>
					</t:insertTemplate>
					
			    </t:putAttribute>
			</t:insertTemplate>
			
	    </t:putAttribute>

</t:insertTemplate>
