Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Review
Workspace Volt
Created by Guest
Created on Jun 9, 2021

Make it possible for Volt to call web services from Volt apps via a proxy server that requires authentication

When calling external web services from a Volt app in an environment that uses a proxy server to access external web sites, it is possible to call external web services via the proxy server by setting the proxy host and port in jvm/lib/net.properties of the Domino JVM.


http.proxyHost=proxy.example.com
http.proxyPort=8080
https.proxyHost=proxy.example.com
https.proxyPort=8080
http.nonProxyHosts=localhost|127.0.0.1|10.*. *. *. *|192.168.*. *


If that proxy server requires authentication, there is no parameter setting in the Domino JVM for that, so it is not possible to call external web services.

NotesHTTPRequest uses Libcurl to support proxy servers that require authentication by setting an environment variable.

https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0073832

If the Java code that sets the user and password in Java's Authenticator class and accesses the specified URL is run in the Domino JVM, the proxy server will authenticate and the specified URL can be accessed correctly.

If calling an external web service via a proxy server that requires authentication in this way, Volt should support authentication, as does Libcurl.

  • Attach files
  • Guest
    Reply
    |
    Jun 10, 2021

    If specifying "Proxy-Authorization: Basic <cerdential>" in the request header in Volt's service configuration, web service call will be possible via a proxy server that requires Basic authentication.

    <credential> is the Base64-encoded text of a string consisting of a username and password concatenated with a colon.