I would like to be able to add specific behaviour on successful authentication. I have a custom filter which is a subclass of AbstractPreAuthenticatedProcessingFilter, and I would like to be able to override or at least extend the behaviour of successfulAuthentication(). Would it be possible to add some kind of template onSuccessfulAuthentication method in the base class that could be called within successfulAuthentication()?
e.g. abstract void onSuccessfulAuthentication(HttpServletRequest request ..... )
At the moment I cant find a way to override this in my subclasses.