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 -

javascript - Chart.js - setting tooltip z-index -

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