title: Get the current user Liferay using a simple Java code
body: <p>I'm working with : <strong>Liferay 6.0.6</strong> with <strong>JBoss 5.1</strong> and <strong>Struts2</strong>. </p>
  
  <p>My question is, how to get the current user in <strong>Liferay</strong> once logged in, using a <strong>Java</strong> code.</p>