Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 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. 

Steps to

define enable Production property in adapter.properties and apps.properties files

define enableProduction property

  • Setting the property in adapter.properties file.
    1. Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
    2. Open adapter.properties file.
    3. Set the value of enableProduction property to True or False.
    4. Save the file.
    5. Restart Connect Server.
    Setting the property in apps.properties file.
    1. Go to <ConnectPortalInstallFolder>\resources_config location.
    2. Open apps.properties file.
    3. Set the value of enableProduction property to True or False.
    4. Save the file.
    5. Restart Connect PortalClick Accounts > Settings.
    6. Expand the Application Settings and then select Connector in the left panel.
    7. Expand the required connector category to view the properties associated with it.
    8. Double-click the corresponding value field of enableProduction property and set it to true or false.
    9. click Update.
      You'll see a message saying 'Properties saved successfully.

Allowing business application account to use access token directly

To make this work, you need to make the following configuration changes in the business application as well as the Adeptia Connect Serverapplication.

  1. Changes on respective business application
    1. 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 and App Secret.


    2. 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.

  2. Changes in Adeptia Connect Server
    You need to configure following parameters in these two files: adapter.properties and apps.properties.
  3. Configure the parameters in adapter.properties file.
    1. Go to …<ConnectServerInstallFolder>\AdeptiaServer\ServerKernel\etc location.
    2. Open adapter.properties file.
    3. Set App key: (Key generated in business application developer app)
    4. Set App secret: (Secret generated in business application developer app)
    5. Set the value of enableProduction property to False.
    6. Save the file.
    7. Restart Connect Server.
  4. Configure the parameters in apps.properties file.
  5. Go to <ConnectPortalInstallFolder>\resources_config location.
  6. Open apps.properties file.
  7. Set App key
    1. Follow the steps from 1 through 3 in given in this section.
    2. Set the following properties of the business application:
      1. appKey: (Key generated in business application developer app)
      2. Set App secretappSecret: (Secret generated in business application developer app)
      3. Set the value of enableProduction property to Falseto false.
      4. Save the file.
      5. Restart Connect Portalclick Update.
        You'll see a message saying 'Properties saved successfully.