9 changed files with 43 additions and 52 deletions
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> |
||||
<%@ taglib prefix="authz" uri="http://acegisecurity.sf.net/authz" %> |
||||
<%@ taglib prefix="authz" uri="http://acegisecurity.org/authz" %> |
||||
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> |
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> |
||||
|
||||
@ -1,16 +1,16 @@
@@ -1,16 +1,16 @@
|
||||
<%@ page import="org.acegisecurity.context.SecurityContextHolder" %> |
||||
<%@ page import="org.acegisecurity.Authentication" %> |
||||
<%@ page import="org.acegisecurity.ui.AccessDeniedHandlerImpl" %> |
||||
|
||||
<h1>Sorry, access is denied</h1> |
||||
|
||||
|
||||
<p> |
||||
<%= request.getAttribute(AccessDeniedHandlerImpl.ACEGI_SECURITY_ACCESS_DENIED_EXCEPTION_KEY)%> |
||||
|
||||
<p> |
||||
|
||||
<% Authentication auth = SecurityContextHolder.getContext().getAuthentication(); |
||||
if (auth != null) { %> |
||||
Authentication object as a String: <%= auth.toString() %><BR><BR> |
||||
<% } %> |
||||
<%@ page import="org.acegisecurity.context.SecurityContextHolder" %> |
||||
<%@ page import="org.acegisecurity.Authentication" %> |
||||
<%@ page import="org.acegisecurity.ui.AccessDeniedHandlerImpl" %> |
||||
|
||||
<h1>Sorry, access is denied</h1> |
||||
|
||||
|
||||
<p> |
||||
<%= request.getAttribute(AccessDeniedHandlerImpl.ACEGI_SECURITY_ACCESS_DENIED_EXCEPTION_KEY)%> |
||||
|
||||
<p> |
||||
|
||||
<% Authentication auth = SecurityContextHolder.getContext().getAuthentication(); |
||||
if (auth != null) { %> |
||||
Authentication object as a String: <%= auth.toString() %><BR><BR> |
||||
<% } %> |
||||
|
||||
Loading…
Reference in new issue