Client IP address in a server-side PI interceptor

This is a discussion on Client IP address in a server-side PI interceptor within the Object forums in Theory and Concepts category; 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...

Go Back   Application Development Forum > Theory and Concepts > Object

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-16-2008, 07:28 AM
Jacek Cala
Guest
 
Default Client IP address in a server-side PI interceptor

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
Reply With Quote
  #2  
Old 10-17-2008, 03:11 PM
ciaran.mchale@iona.com
Guest
 
Default Re: Client IP address in a server-side PI interceptor

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.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 07:35 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.