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" %> - -
-<%= request.getAttribute(AccessDeniedHandlerImpl.SPRING_SECURITY_ACCESS_DENIED_EXCEPTION_KEY)%> - -
-
-<% Authentication auth = SecurityContextHolder.getContext().getAuthentication();
- if (auth != null) { %>
- Authentication object as a String: <%= auth.toString() %>
-<% } %>