title: liferay event listener
body: <p>i have some hard task, i need to change some part of my project using jboss portal 2.7.2 into liferay. Ofc less change better but all jboss portal must disappear. I need 2 replace classes below. So my question is how using liferay portal implements(or not(if already exist)) listener which will know when someone is trying 2 log in. Make login possible without reloading etc. Ofc it was nice if there was some pro eventlistener in liferay which can recognise other events not only logging but i will be glad for all help. 4 the rest of this class will be nice if someone know replacment 4 them in liferay.</p>
  
  <pre><code>import org.jboss.portal.api.event.PortalEvent;
  import org.jboss.portal.api.event.PortalEventContext;
  import org.jboss.portal.api.event.PortalEventListener;
  import org.jboss.portal.api.session.PortalSession;
  import org.jboss.portal.api.user.event.UserAuthenticationEvent;
  import org.jboss.portal.identity.IdentityException;
  import org.jboss.portal.identity.NoSuchUserException;
  import org.jboss.portal.identity.User;
  import org.jboss.portal.identity.UserModule;
  import org.jboss.portal.identity.UserProfileModule; 
  </code></pre>