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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -