0 Replies Latest reply on Nov 8, 2006 9:08 PM by Jong Kim

    getRemoteUser doesn't work consistently on a portlet

    Jong Kim Newbie

      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?

      Thanks