Accessing SSL information  C++ components

Chapter 2: Securing Component Access

Non-EJB components

For non-EJB CORBA components, the following mechanisms are used for authentication within a server and for standalone clients:

  1. 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");
    
  2. 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. C++ components

View this book as PDF