[omniORB] getting to know client IDs on server

Duncan Grisby dgrisby@uk.research.att.com
Wed, 20 Feb 2002 12:43:28 +0000


On Wednesday 13 February, "Vibhu Rishi" wrote:

> Is it possible for omni Server to know the clientID when there is a request
> from client? Does authentication included in omni?
> 
> One of document on omni says, GIOP requsting principal field can be used for
> authentication. Have to used GIOP?  How to use principal field for
> authentication purpose?

The principal field is deprecated, and isn't included in GIOP 1.1 and
above, so you should not use it. By far the simplest thing to do to
authenticate a client is to include some explicit authentication token
in the arguments of your IDL operations. If you want to do it
implicitly, you have to use interceptors, but the support for them
isn't complete in omniORB yet.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --