Quick question: Web application. Acegi is working/user is logged in. Now I need to get some data from DB and that data is referenced by user id (which is already loaded by Acegi and kept in Authentication/UserDetails, right?)
The question is, minding the IoC approach - what is the most correct way for a normal Spring's bean in a web application to get that user id (and, possibly, all other user's details) from Acegi?
Thanks.


