Neoallianz
Programmer
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.
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.