1 Reply Latest reply on Dec 10, 2007 6:14 PM by Chris Laprun

    WSRP user and role propagation

    Martin Rostan Newbie

      Hi,
      I'm using JBossPortal 2.6.2 and testing WSRP between two instances of JBossPortal.
      I need information about the connected user in the producer side, so I'm trying these methods of RenderRequest with the following results:
      getRemoteUser(): returns the login of the connected user on the consumer side
      getUserPrincipal(): always returns null
      isUserInRole(): always returns false

      Is this the expected behavior?
      I need isUserInRole, but it seems to be not implemented.

      Is somebody else using these methods?

      Thanks in advance
      Martin