<%@ page import="org.springframework.security.core.context.SecurityContextHolder" %> <%@ page import="org.springframework.security.core.Authentication" %> Access Denied

Sorry, access is denied

<%= request.getAttribute("SPRING_SECURITY_403_EXCEPTION")%>

<% Authentication auth = SecurityContextHolder.getContext().getAuthentication(); if (auth != null) { %> Authentication object as a String: <%= auth.toString() %>

<% } %>