How can I get the current user connected to a Liferay portal with a simple Java code?
I\'m using Liferay 6.0.6
Simply:
User currentUser = PortalUtil.getUser(request);