Hi, I have been working in my own filter using spring 3 but now I have to migrate my filter to an application (old one) that uses Spring 2.

My first problem is that my filter extends from AbstractAuthenticationProcessingFilter and this class in spring security core 2.0.4 doesn't exist, so I replaced it with AbstractProcessingFilter.

Now my problem is that my method
Code:
public Authentication attemptAuthentication(request,response)
has to be
Code:
public Authentication attemptAuthentication(request)
and I need the response for my filter.

I am replacing it with a wrong class?
How can I add a response to the attemptAuthentication?

Thanks!