From a205f95c19ffcb5adeef1057803c339bea76659a Mon Sep 17 00:00:00 2001 From: Ben Alex Date: Tue, 4 Dec 2007 11:24:54 +0000 Subject: [PATCH] No need for an access denied page. --- .../tutorial/src/main/webapp/accessDenied.jsp | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 samples/tutorial/src/main/webapp/accessDenied.jsp diff --git a/samples/tutorial/src/main/webapp/accessDenied.jsp b/samples/tutorial/src/main/webapp/accessDenied.jsp deleted file mode 100644 index a9582cde70..0000000000 --- a/samples/tutorial/src/main/webapp/accessDenied.jsp +++ /dev/null @@ -1,16 +0,0 @@ -<%@ page import="org.springframework.security.context.SecurityContextHolder" %> -<%@ page import="org.springframework.security.Authentication" %> -<%@ page import="org.springframework.security.ui.AccessDeniedHandlerImpl" %> - -

Sorry, access is denied

- - -

-<%= request.getAttribute(AccessDeniedHandlerImpl.SPRING_SECURITY_ACCESS_DENIED_EXCEPTION_KEY)%> - -

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

-<% } %>