I want to insert some code into the Acegi login process.
My code needs to run AFTER the user has successfully logged in.
My code needs to have access to the logged in User (i.e. Authenication or UserDetails).
My code needs to have access to the HttpServletRequest so it can set a cookie.
Where is the best place to do put my code?