[omniORB] omniORB Authentication Methods

Duncan Grisby duncan at grisby.org
Tue Oct 24 11:17:06 BST 2006


On Tuesday 24 October, Sander Steffann wrote:

> Op 23-okt-2006, om 18:19 heeft Duncan Grisby het volgende geschreven:
> 
> > In omniORB 4.0 you can't throw system exceptions from interceptors,
> > but
> > in 4.1 you can, so if you use 4.1, you can throw CORBA::NO_PERMISSION
> > from your interceptor if you want.
> 
> I have been throwing CORBA::NO_PERMISSION from omniORBpy interceptors
> for some years, and it worked perfectly. Have I just been lucky here?

Sorry, I got mixed up. In 4.0.x you _can_ send system exceptions from
interceptors. What you can't do is send user exceptions from them. You
can throw both kinds of exceptions in 4.1.x.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list