title: UsernamePasswordAuthenticationFilter Spring Security 2.0.8
body: <p>i'm trying to downgrade a custom legacy authentication provider developed with Spring-Security 3.x to the 2.0.8 one.</p>
  
  <p>My authentication mechanism uses an "user and password form login..."</p>
  
  <p>The legacy project uses as Spring Security Filter a custom extension of UsernamePasswordAuthenticationFilter class</p>
  
  <pre><code>public class AuthenticationProcessingFilter extends UsernamePasswordAuthenticationFilter {
  
      public Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response) {
       ...
      }
  }
  </code></pre>
  
  <p>But Spring Security 2.0.8 doesn't provide that class.</p>
  
  <p>So is there a valid alternative to UsernamePasswordAuthenticationFilter, or have i to use the classic SpringSecurityFilter?</p>
  
  <p>thanks</p>