Previous Topic: Initialize CA EEM Java SDK

Next Topic: Initialize CA EEM C# SDK

Initialize CA EEM C++ SDK

Configure CA EEM SDK using the Safe::Configurator class.

Note: Configure the eiam.config before you configure CA EEM SDK. If you do not configure the eiam.config file, the CA EEM SDK is initialized with the following default configuration:

To initialize CA EEM SDK, perform the following process:

  1. Include the following API in your code to initialize CA EEM SDK during application startup:
    Safe::Configurator::getInstance()->init(filename);
    

    Where

    filename

    Specifies the absolute path of the eiam.config file that you have defined for your application.

    Note: If you do not mention the filename, CA EEM SDK is initialized with the default values.

  2. Include the following API in your code during shutdown of your application:
    Safe::Configurator::getInstance()->term();
    

    Note: For more information about the SafeConfigurator class, see the Programming Guide.

Important! If there are any invalid attributes in the eiam.config file, the CA EEM SDK aborts.

More information:

About the eiam.config File

About the Logger Configuration Files