From 769041474e0f4b7a78e954e207d30f3e866f12a1 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 14 Apr 2009 02:35:13 +0000 Subject: [PATCH] SEC-1136: Missed an import. --- .../web/ExceptionTranslationFilter.java | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/ExceptionTranslationFilter.java b/web/src/main/java/org/springframework/security/web/ExceptionTranslationFilter.java index ccf0b36001..61dea28049 100644 --- a/web/src/main/java/org/springframework/security/web/ExceptionTranslationFilter.java +++ b/web/src/main/java/org/springframework/security/web/ExceptionTranslationFilter.java @@ -15,21 +15,6 @@ package org.springframework.security.web; -import org.springframework.security.access.AccessDeniedException; -import org.springframework.security.authentication.AuthenticationTrustResolver; -import org.springframework.security.authentication.AuthenticationTrustResolverImpl; -import org.springframework.security.authentication.InsufficientAuthenticationException; -import org.springframework.security.core.AuthenticationException; -import org.springframework.security.core.SpringSecurityException; -import org.springframework.security.core.context.SecurityContextHolder; -import org.springframework.security.util.ThrowableAnalyzer; -import org.springframework.security.util.ThrowableCauseExtractor; -import org.springframework.security.web.savedrequest.SavedRequest; -import org.springframework.beans.factory.InitializingBean; -import org.springframework.core.NestedRuntimeException; - -import org.springframework.util.Assert; - import java.io.IOException; import javax.servlet.FilterChain; @@ -37,6 +22,19 @@ import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.InitializingBean; +import org.springframework.core.NestedRuntimeException; +import org.springframework.security.access.AccessDeniedException; +import org.springframework.security.authentication.AuthenticationTrustResolver; +import org.springframework.security.authentication.AuthenticationTrustResolverImpl; +import org.springframework.security.authentication.InsufficientAuthenticationException; +import org.springframework.security.core.AuthenticationException; +import org.springframework.security.core.context.SecurityContextHolder; +import org.springframework.security.util.ThrowableAnalyzer; +import org.springframework.security.util.ThrowableCauseExtractor; +import org.springframework.security.web.savedrequest.SavedRequest; +import org.springframework.util.Assert; + /** * Handles any AccessDeniedException and AuthenticationException thrown within the * filter chain.