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
These methods are not safe to use without support for web service level security which is not currently supported but should be in a future version of Portal.