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

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

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

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