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

    WSRP user and role propagation

    mrostan

      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