For non-EJB CORBA components, the following mechanisms are used for authentication within a server and for standalone clients:
Embed the user name and password in the URL when creating a component instance. For example:
Module::Interface_var compInstance = Module::Interface::narrow( "iiop[s]://user:password:host:port/EAServerPackage/EAServerComponent");
Use the lookup method on SessionManager::Factory. You cannot embed a user name/password in the URL.
See the SessionManager IDL documentation for more information and these chapters:
Copyright © 2005. Sybase Inc. All rights reserved. |