I am using spring security form based login mechanism,after sucessful login I am storing one object in session. Using that object stored in session to decide the fate on next requests.But now when I am testing that using spring mvc test with security support.I am not able to populate that session object after sucessful authentication. I tried providing session with object populated at time of login but I guess spring security clearing that session.
So How can I set that object into session after sucessful login in spring mvc test.