[jboss-user] [Remoting] - How to transmit client context info (eg username, host) with

CusiDevelopment do-not-reply at jboss.com
Mon Jan 14 10:25:43 EST 2008


Hello everybody,

We do have a small problem, which we couldn't find a proper solution for within the docu or the forums?

We are using JBoss Remoting (JBR) within our Eclipse RCP Client Application with Socket transportation to communicate with one of our server processes.

We found already out, that JBR is internally working with a kind of session mechanism.

The behaviour we want to achieve is, that once at the beginning of the communication or with every call client "context" information (username, host, ...) can be transmitted to the server.

Is there a way to retrieve the sessionId on the server side, where we use a socket based TransportServer?

In the forum we found a hint that we can get the used sessionId from ServerInvokerCallbackHandler. The question is how to retrieve it from our TransportServer?

Any help or pointers into the right directions are highly appreciated

kind regards
CusiDev Team

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119682#4119682

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119682



More information about the jboss-user mailing list