Previous Topic: Configure CA EEM C# SDK in FIPS-only Mode

Next Topic: Initialize CA EEM C++ SDK

Initialize CA EEM Java SDK

Configure CA EEM SDK using the SafeConfigurator class.

Note: You must configure 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:
    SafeConfigurator.getInstance().init(filename);
    

    Where

    filename

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

    Note: All the CA EEM SDK operations after this line are logged based on tracing levels of logging in the logger configuration.

  2. Include the following API in your code during shutdown of your application:
    m_config.term();
    

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

More information:

About the eiam.config File

About the Logger Configuration Files