Hi!
To test some of my units a user have to be logged in to the system (a web app) since these classes need some information retrieved by ((SecurityContext) SecurityContextHolder.getContext()).getAuthenticat ion().getPrincipal()
How do I write a test case (extending AbstractTransactionalSpringContextTests) that log in a user?
thanks
-Martin Börlin


