Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the source of a request invokatio

Status
Not open for further replies.

Neoallianz

Programmer
Nov 2, 2006
1
DE
Hi all,

In have run into a dead end, where my CORBA knowledge and Google can't help me anymore. I hope somebody of this forum might help me.

Here is my problem:

I have created a logical tree with parent-child relationship using CORBA. A parent node knows the IORs of its children and the children know the IOR of their parent. In normal usage the parent invokes a remote request on a child using COBRA, most of these request change the internal status of the child, like the identification of the child.

I need now to ensure that only the parent is allowed to call these management methodes on a child.
I wanted to do this by comparing the IOR of the entity that started the request with the saved parent IOR.

My problem is now that I don't know how I get the identity in form of the IOR or similar unique names from the request.

Is this possible in CORBA? Or is there another way to ensure that only certain entities may invoke a methode at my server object?

I am using ACE + TAO on a Ubuntu system.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top