From 9ea737240542faf558f28527bbccdaddf4c9ca3b Mon Sep 17 00:00:00 2001 From: Marcin Mielnicki Date: Tue, 24 Feb 2015 22:49:27 -0600 Subject: [PATCH] SEC-2878: Clean imports in UsernamePasswordAuthenticationFilter --- .../UsernamePasswordAuthenticationFilter.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/authentication/UsernamePasswordAuthenticationFilter.java b/web/src/main/java/org/springframework/security/web/authentication/UsernamePasswordAuthenticationFilter.java index f83930c639..20362c6045 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/UsernamePasswordAuthenticationFilter.java +++ b/web/src/main/java/org/springframework/security/web/authentication/UsernamePasswordAuthenticationFilter.java @@ -16,18 +16,16 @@ package org.springframework.security.web.authentication; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.servlet.http.HttpSession; - import org.springframework.security.authentication.AuthenticationServiceException; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.AuthenticationException; -import org.springframework.security.web.util.TextEscapeUtils; import org.springframework.security.web.util.matcher.AntPathRequestMatcher; import org.springframework.util.Assert; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + /** * Processes an authentication form submission. Called {@code AuthenticationProcessingFilter} prior to Spring Security