unsuccessfulAuthentication method of AbstractProcessingFilter only maps 5 exceptions. There are almost 12 subclasses of AuthenticationException. Could you please add the other exceptions as well? and similarly get/set methods for the urls for the same exceptions? I need to show different messages on pages based on different exceptions especially I need AccountExpiredException and accountExpiredFailureUrl.