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 - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -