IBM Support

Setting Private headers at the WebSphere Proxy Server level

Question & Answer


Question

How do I enable Proxy server to accept and retain the private headers already set in the incoming request. For example $WSRA, $WSRH etc

Cause

The WebSphere Proxy server accepts and retains private headers from the IBM Web server/plugin and from other trusted proxies under certain conditions.

Answer

In the Websphere plugin config, the $WSRA an $WSRH variables are exposed via the following properties. i.e TrustedProxyEnable an TrustedProxyList. Private headers set by Trusted Proxies will not be overridden by the WebSphere plugin.

For more details, please refer to Web server plug-in custom properties

In the WebSphere Proxy component, there is no flag or variable within WebSphere Proxy configuration which can be used to retain the private headers of an incoming request.


The Proxy is only going to accept the private headers if 2 things occur.

1) the $WSSN header is already set in the request coming into the proxy

and

2) the host is a trusted intermediary.

If neither is true then the private headers in the request will be ignored and the proxy
will set them.

Although, ProxyWas is a Caching Proxy directive, both WebSphere plugin and WebSphere proxy
can set the headers.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Proxy server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.0.1;8.5;8.0.0.5;8.0.0.4;8.0.0.3;8.0.0.2;8.0.0.1;8.0;7.0.0.9;7.0","Edition":"Advanced;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21626365