mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-23 22:47:57 +01:00
21 lines
568 B
Plaintext
21 lines
568 B
Plaintext
|
<%@ 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>
|
||
|
<% } %>
|