spring-projects/spring-security — pull request #69 by sryll (2014-01-28 13:50:24+00:00)
Title: SEC-1869 additions: SuccessHandler and FailureHandler for pre-auth filter implementation

This is a solution I want to suggest to address the issue described in https://jira.springsource.org/browse/SEC-1869

The point is that the documentation states that AuthenticationSuccessHandlers and AuthenticationFailureHandlers can be used to react to (un)successful authentication events. As these handlers receive request and response objects via their signature, they are more powerful than reacting to AuthenticationEvents.

The destination following a successful authentication or an authentication failure is controlled by the AuthenticationSuccessHandler and AuthenticationFailureHandler strategy interfaces, respectively.

This pull request adds support for both handlers types to pre-authenticated filter implementations by amending AbstractPreAuthenticatedProcessingFilter.

If that patch needs some more work to be ready for inclusion, pls let me know.

I have submitted the CLA in 2011 already, in the context of SEC-1793.