I have a porlet app that I deployed onto JBoss Portal 2.6 DR1. My portlet's functionality depends upon the availability of the name of the user making the request. So I call getRemoteUser method on the PortletRequest object.
This works fine for the very first call made immediately after successful login into the portal (I get the right user name). But all subsequent calls (during the subsequent user interactions with the portal) to the same method returns null.
Has anyone observed this same behavior? If so, does anyone know why, and how I can work around this issue?