| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello, Programming a server-side Portable Interceptor I would like to identify a client application calling my server. Is there any chance to get e.g. an IP address or any other id of the caller? I'm especially interested in solutions for Java-based orbs such as OpenORB or JacORB. Best regards, -- Jacek Cala __________________________________________________ _________________ Distributed Systems Research Group Department of Computer Science AGH - University of Science and Technology Krakow, Poland tel.: +48 12 6173491 ext. 71 fax.: +48 12 6339406 |
|
#2
| |||
| |||
| On 16 Oct, 12:28, Jacek Cala <jc...@agh.edu.pl> wrote: > Programming a server-side Portable Interceptor I would like to identify > a client application calling my server. Is there any chance to get e.g. > an IP address or any other id of the caller? > > I'm especially interested in solutions for Java-based orbs such as > OpenORB or JacORB. CORBA does not define any APIs that enable you to obtain the information you are interested in. One way to do it yourself is to write a pair of cooperating client- and server-side portable interceptors. The client-side interceptor notes the IP address of the machine on which the client is running and adds this information to a service context, which is then sent with each request to the server. The server-side portable interceptor extracts this information from the service context. I heard of that approach being used successfully by one company, but I didn't work on the project so I can't share any details about its implementation. Regards, Ciaran. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.