Get current user at controller level Permanently deleted user Created June 10, 2010 10:17 Hi,How can I get the current user in my controller? I can't find a relevant bean.Thanks<bb />
Oh,
Session has USER_KEY
<bb />
Later is better then never...
context.getAuthorityHolder().getAssociatedUser()
where context is SecurityContext instance that you can get via Spring injection.