Locking the Autonomous REST Connector to an API
- Last Updated: December 3, 2024
- 4 minute read
Password-protected drivers require modifications to the application code to unlock the drivers. For end-users of 3rd party applications and BI tools, this can present a problem, since you likely do not have permissions to modify these applications. To circumvent this issue, the Autonomous REST connector also provides a method of branding that allows you to lock the driver so that it issues only API requests to your service. By locking the driver to the API, you prevent unauthorized use of the driver by limiting to requests to only those you have defined, while, at the same time, eliminating the need to change code.
Locking the Autonomous REST Connector to your API is accomplished by running the standalone Branding Tool (BrandingTool.jar) against the driver file, autorest.jar, and your input REST file. When branding is executed, the driver embeds the input REST file into a branded copy of the driver file, locking the driver to use only the requests and endpoints you have defined in the input REST file.
- "Branding Using the GUI"
- "Branding Using the Command Line"
- "Branding Using a Silent Installation"
Before you begin:
- Download the Branding Tool, BrandingTool.jar, from the OEM Partner website.
- Install an evaluation copy of the Autonomous REST Connector.
For more information on installing the product, refer to the Progress DataDirect for JDBC Drivers Installation Guide.
- Create an input REST file and populate it with the endpoints and requests used by your
service.
For detailed information on creating an input REST file, refer to the Progress DataDirect Autonomous REST Connector for JDBC User's Guide.
To brand the Autonomous REST connector and lock it to your API:
Once the branding operation is finished, the branded file appears in the same directory containing the original file. The default location of the driver jar file is install_dir/lib where install_dir is the installation directory.