Creating a Proxy Connection (Whitelisting)

Create a new connection in SAP Control Center to allow a proxy connection (authenticated or anonymous) through SAP Mobile Platform.

Note: When you set the proxy property with the endpoint address in the application template (either as part of the application creation or editing the application template created for that application), a proxy connection is generated automatically.
  1. In the left navigation pane, expand the  Domains folder, and select the default domain.
  2. Select Connections.
  3. In the right administration pane, select the Connections tab, and click New.
  4. Enter a unique Connection pool name.
    The Connection pool must have the same name as the application ID.
  5. Select the Proxy Connection pool type.
  6. Select the appropriate template for the data source target from the Use template menu. 
  7. Set the Address property by clicking the corresponding cell and entering the address of the proxy endpoint. For example, http://odata.example.com/v2/Catalog/
  8. Configure the following optional properties:
    Note: To access an external service, you must configure the http.proxyHost and http.proxyPort properties during server configuration in SAP Control Center > Servers > Server Configuration > General > User Options. If you set or change the setting for http.proxyHostand http.proxyPort, you must restart the services using the stop/start service scripts. For more information, see Administer > SAP Mobile Server > Configuring SAP Mobile Server to Securely Communicate With an HTTP Proxy in SAP Control Center for SAP Mobile Platform .
    • Allow Anonymous Access – Enables anonymous authentication to SAP Mobile Platform.
    • Certificate Alias – Client SSL certificate stored in the SAP Mobile Platform keystore to be forwarded to the EIS.
    • Username – Username passed to the EIS.
    • Password – Password passed to the EIS.
    • EnableHttpProxy – Enables Internet proxy support in the proxy connector. EnableHttpProxy defaults to false. Set explicitly to true to enable.
    • EnableUrlRewrite – Enables the proxy component to rewrite URLs (or URIs) embedded in a response, with SUP URLs that causes the client requests to be directed back to the SAP Mobile Server (proxy component), rather than to the back end server. EnableUrlRewrite defaults to true. Set explicitly to false to disable.
    • ProxyHost – Host name of the proxy server.
    • ProxyPort – Port number.
    Note:
    • On a proxy connection, if the header for X-SUP-BACKEND-URL is not NULL, or EnableURLRewrite is false then no URL rewrite occurs for either the request or response content.
    • To access the external services, you must configure EnableHttpProxy = True, ProxyHost = proxy, ProxyPort = 8080 in the connection pool.
    • In REST services, the proxy URL is fetched from the application ID which is sent from the client device. The same application name is also present in the connection pool. This proxy URL is used for request/response.
  9. Click OK to register the connection pool.