Get Liferay's current user when integrate with spring web flow -


spring web flows introduced variable currentuser returns authenticated principal user. in liferay return null , hence breaks.

if want authenticated liferay user, can call:

portalutil.getuser(portletrequest); 

Comments

Popular posts from this blog

html - Cut text on left side inside button while centering -

plugins - CodeIgniter support on netbeans 8.0 -

php - Selecting items from MySQL for a status update feed efficiently while accounting for possible spam -