...
Routing HTTP traffic through an HTTP proxy can be configured. This is commonly required in networking environments where the execution context has limited access to the internet. Proxy configuration has to be performed on
...
every host (Platform or Execution Context (EC)) that is required to route HTTP traffic through a proxy.
Info |
---|
Proxy support is available for:
|
This chapter has the following sections:
...
Standard Java system properties are used to configure MediationZone to route an HTTP traffic route through an HTTP proxy. These properties must be configured at the Execution Context (EC) level for all execution contexts. Refer to proxy properties here: Execution Context Properties .
At least one of these properties has to be set to use HTTP Proxy:
http.proxyHost
https.proxyHost
...
Note |
---|
Currently, only HTTP/1.1 has been verified to route through an HTTP proxy. |
Authenticating the Proxy
MediationZone We supports basic authentication to HTTP proxy. The username and password are configured using system properties. Refer to the proxy properties here: Execution Context Properties .
Some JDK versions support a system property that is used to disable certain proxy authentication schemes. This is controlled by two system properties:
jdk.http.auth.proxying.disabledSchemes
– for HTTP trafficjdk.http.auth.tunneling.disabledSchemes
– for HTTPS traffic
These properties contain a list of authentication schemes that are disabled. In particular, in some JDK versions default jdk.http.auth.tunneling.disabledSchemes
to “Basic
" which has the effect of disabling basic authentication by default. To use basic authentication, you may need to setone or both of following system properties to ensure that they do not include “Basic
". See the example configuration below.
...