[prev in list] [next in list] [prev in thread] [next in thread] 

List:       omniorb-list
Subject:    Re: [omniORB] CORBA::Principal - IDL compilation error
From:       Duncan Grisby <dgrisby () uk ! research ! att ! com>
Date:       2000-09-26 12:51:13
[Download RAW message or body]

On Sunday 17 September, Senthil Kumar wrote:

> // User name and authentication for security
>   typedef sequence<octet> Ticket;
>   struct AccessControl {
>     CORBA::Principal user;
[...]

CORBA::Principal is not supported in omniORB, and is now deprecated
anyway. You can work-around the problem by replacing the Principal
type with a sequence of octets, and you will be compatible on-the-wire
with an ORB which does support Principal. The only time this will not
work is if you put the structure in an Any, in which case the TypeCode
will be wrong.

Cheers,

Duncan.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic