Pārlūkot izejas kodu

No need for an access denied page.

Ben Alex 18 gadi atpakaļ
vecāks
revīzija
a205f95c19
1 mainītis faili ar 0 papildinājumiem un 16 dzēšanām
  1. 0 16
      samples/tutorial/src/main/webapp/accessDenied.jsp

+ 0 - 16
samples/tutorial/src/main/webapp/accessDenied.jsp

@@ -1,16 +0,0 @@
-<%@ page import="org.springframework.security.context.SecurityContextHolder" %>
-<%@ page import="org.springframework.security.Authentication" %>
-<%@ page import="org.springframework.security.ui.AccessDeniedHandlerImpl" %>
-
-<h1>Sorry, access is denied</h1>
-
-
-<p>
-<%= request.getAttribute(AccessDeniedHandlerImpl.SPRING_SECURITY_ACCESS_DENIED_EXCEPTION_KEY)%>
-
-<p>
-
-<%		Authentication auth = SecurityContextHolder.getContext().getAuthentication();
-		if (auth != null) { %>
-			Authentication object as a String: <%= auth.toString() %><BR><BR>
-<%      } %>