Previous Topic: Initializing the Authentication SDKNext Topic: Method 2: Initializing the SDK by Using the Properties File


Method 1: Initializing the SDK by Using the Map

This method initializes the Authentication SDK based on the map provided. The following table provides the details of the init() method:

Description

Input Values

Output Value

Initializes the Authentication SDK by using the provided map.

  • map
    The key-value pair specifying the configuration information. The map values are same as the parameters listed in the webfort.authentication.properties file.

    Book: Refer to appendix, "Configuration Files and Options" in the CA AuthMinder Installation and Deployment Guide for more information on the parameters in this properties file.

  • locale
    The locale of the API. The default value is set to en_US.

Returns an exception if the SDK is not initialized successfully.