[omniORB] Single Login to server program

Muro, Sam research at businesstz.com
Tue Aug 3 10:36:55 BST 2010


This is exactly want i want to implement. When the client object is
invoked, It returns a security key which will be needed for any subsequent
operations until its life time expires. I am not very experienced in this
but what i need is ability to remember that key, access it priori to
invoking login() method. For example, one can store the security key into
a file, and access it using md5checksum to guarantee that no one has
changed its content. The question is how to do this

Kindly assist if you can paste some code snippets of what you think will work

Sam
Thomas Lockhart wrote:
> If your login method returns a callback object then you can do
> subsequent operations with the client invoking the callback object
> directly, bypassing the login operation. I suppose the callback object
> could require a key of some sort to avoid unexpected access from
> elsewhere. The logout method could destroy the remote object.
>
> I'm not sure that this scheme would win a tradeoff with the other style
> you are discussing, but...
>
> hth
>
>                                  - Tom
>




More information about the omniORB-list mailing list