Configuring remote server access for links

Before you can add links to files and documents stored in remote content management systems into web content elements, you must configure your server with information about the remote system and the settings used to handle communication with the system.

IBM Content Manager and SSL usage: IBM Content Manager Services for Lotus Quickr provides the capability to link to documents stored in IBM Content Manager. These links are generated according to the base service URL configured in IBM Content Manager Services for Lotus Quickr, as specified by the urlBaseService property in the cmpathservice.properties file. If you have enabled Secure Sockets Layer (SSL) encryption for your portal, verify that the base service URL reflects the https protocol and not the http protocol to ensure that links are generated correctly. Refer to the documentation for IBM Content Manager Services for Lotus Quickr for details on how to update the urlBaseService property.
To prevent linking to unsafe servers, you need to specify a list of allowed domains that your portal can access using the portal's AJAX proxy component. You can use the global AJAX proxy configuration to customize the outgoing HTTP traffic, such as applying specific HTTP timeout values or configuring an outbound HTTP proxy server. To do this, map the URL patterns for the ECM server to the federated_documents_policy dynamic policy using the WP ConfigService configuration service.
  1. Log in to the WebSphere® Integrated Solutions Console.
  2. Click Resources > Resource Environment > Resource Environment Providers.
  3. Click WP ConfigService.
  4. Under Additional Properties, click Custom Properties.
  5. Click New, and enter the property name wp.proxy.config.urlreplacement.federated_documents_policy.suffix, and set the string value to the URL pattern of the ECM server.
    For example, to enable the server to access information from the ECM server ecm.example.com on port 10038 over HTTP, you would add the following property:
    wp.proxy.config.urlreplacement.federated_documents_policy.1=http://ecm.example.com:10038/*
    Note: The value of the property key suffix can be any value as long as it is unique within the set of keys mapping to the federated_documents_policy.
  6. Create additional properties as needed for any other ECM servers that you need to access through the server.
  7. Save your changes, and restart the portal server.
If a user tries to access a server (for example, www.example.com) that has not been added to the list of allowed domains, the following message is displayed:
Access to remote server www.example.com has not been granted. Please contact your system administrator.