Преглед на файлове

No need for an access denied page.

Ben Alex преди 18 години
родител
ревизия
a205f95c19
променени са 1 файла, в които са добавени 0 реда и са изтрити 16 реда
  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>
-<%      } %>