JAX-RS 2.0: Proxy authorization

Hello!

Our company restricts HTTP traffic through a proxy, so our application server has to provide proxy authorization to connect to external services. Now the documentation about liberty server mentions proxy host, port and type but never anything about authorization.

https://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.wlp.doc/ae/twlp_jaxrs2.0_clientconfig.html

Apache CXF provides provides authorization through the `setProxyAuthorization` method in [HTTPConduit](https://cxf.apache.org/javadoc/latest/index.html?org/apache/cxf/transport/http/HTTPConduit.html) class. I checked out the sources of liberty service and it seems this feature isn’t supported on the liberty wrapper.

Is there a reason why proxy authorization isn’t supported? Does anyone know a workaround?

Best regards,
Billie

Related:

Leave a Reply