In the event of an Adeptia Connect user not willing to whitelist the incoming traffic for the REST based business apps (endpoints) supported in application, they can configure enableProduction property in apps.properties and adapter.properties filesthe application.
If enable Production property is set to True, the previous behavior will be retained that is connect.adeptia.com server will be allowed to access the Adeptia Connect Server instance behind the firewall. If it is set to False, the user needs to allow the business applications to use the access token received directly from the third party token provider.
define enable Production property in adapter.properties and apps.properties filesdefine enableProduction property | | Steps to define enableProduction property |
---|
|
Setting the enableProduction property in adapter.properties file.Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.Open adapter.properties file.Set the value of enableProduction property to True or False.Save the file.Restart Connect Server.Setting the property in apps.properties file.- Go to …<ConnectPortalInstallFolder>\resources_config location.
- Open apps.properties file.
- Set the value of enableProduction property to True or False.
- Save the file.
- Restart Connect Portal.
To make this work- Click Account > Settings.
- Expand the Application Settings and then select Connector in the left panel.
- Expand the required connector category to view the properties associated with it.
- Double-click the corresponding value field of enableProduction property and set it to true or false.
- click Update.
You'll see a message saying 'Properties saved successfully'.
If you set the enableProduction property to false, you need to make the following configuration changes in the business application as well as the Adeptia Connect Serverapplication.
- Changes on in respective business application
Create an app on the developer portal of business application. For example, in case of Dropbox, create an app in the developer options.
Info |
---|
Once app is created, you get the following details about the app: App Key AppKey and App SecretKeySecret. |
- Configure the Redirect URL which contains the IP of locally accessible environment. For example, in case of Dropbox, it will be https://<IP>/rest/applications/dropbox/account URL.
- Changes in Adeptia Connect Server
You need to configure following parameters in these two files: adapter.properties and apps.properties.
- Configure the parameters in adapter.properties file.
- Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
- Open adapter.properties file.
- Set App key: (Key generated in business application developer app)
- Set App secret: (Secret generated in business application developer app)
- Set the value of enableProduction property to False.
- Save the file.
- Restart Connect Server.
Configure the parameters in apps.properties file.
- Go to …<ConnectPortalInstallFolder>\resources_config location.
- Open apps.properties file.
Set App key
- Follow the steps from 1 through 3 in given in this section.
- Double-click the corresponding value field the following properties of the business application to set their values:
- appKey: (Key generated in business application developer app)
- Set App secretappKeySecret: (Secret generated in business application developer app)
- Set the value of enableProduction property to Falseto false.
- Save the file.
- Restart Connect Portalclick Update.
You'll see a message saying 'Properties saved successfully.