You can enable API authentication to check if a password given in the URL is valid. To enable or disable API authentication, configure the "informia.api.authentication" parameter in the
conf.properties
file.
When you configure the parameter to enable API authentication, you must also provide an encrypted user password in the URL parameters. To generate the required encrypted password, use the encryptPassword.bat or encryptPassword.sh utility. The utilities are available in the Data Archive installation folder.
Password authentication is available only for API's built with the authentication mechanism. Refer to the individual API documentation in this chapter to determine if an API supports password authentication.
To enable or disable API authentication, open the
conf.properties
file from the Data Archive installation folder and configure the following parameter:
Informia.api.authentication
The default value of this parameter is N. Valid inputs are Y and N.
To generate the encrypted password required for the URL password parameter, run the encryptPassword.bat (on Microsoft Windows) or the encryptPassword.sh (on Linux and UNIX) utility from the command line. Input the password for the username running the API.
The utility returns an encrypted password that you can copy and paste into the URL parameters.