Main Page | Report this Page
Computers Forum Index  »  Computer - Object (Corba)  »  Client IP address in a server-side PI interceptor...
Page 1 of 1    

Client IP address in a server-side PI interceptor...

Author Message
Jacek Cala...
Posted: Thu Oct 16, 2008 4:28 pm
Guest
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
 
...
Posted: Fri Oct 17, 2008 7:11 pm
Guest
On 16 Oct, 12:28, Jacek Cala <jc... at (no spam) agh.edu.pl> wrote:
Quote:
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.
 
 
Page 1 of 1    
All times are GMT
The time now is Sat Dec 05, 2009 9:55 pm