Follow-on to #83 (env-var proxy wiring, landing in 1.0.0).
Summary
Add full server.outboundProxy YAML configuration with authentication support for environments where a direct unauthenticated local relay is not available.
Proposed config
server:
outboundProxy:
host: proxy.corp.example.com
port: 8080
auth:
type: basic # or ntlm
username: ${PROXY_USER}
password: ${PROXY_PASS}
# NTLM only:
domain: CORP
workstation: myhost
noProxy: "localhost|*.internal.example.com"
Scope
All three outbound paths must be covered:
- JGit Transport — set Java system properties at startup; NTLM requires a custom
CredentialsProvider
- Jetty HttpClient —
ProxyConfiguration.addProxy() with ProxyConfiguration.Proxy auth settings
- Apache HC5 —
DefaultProxyRoutePlanner + CredentialsProvider (NTLM via NTCredentials)
NTLM is the complex case — HC5 has built-in support via NTCredentials but Jetty's HttpClient does not natively support NTLM and may require routing through a local relay or a workaround.
Prerequisites
Follow-on to #83 (env-var proxy wiring, landing in 1.0.0).
Summary
Add full
server.outboundProxyYAML configuration with authentication support for environments where a direct unauthenticated local relay is not available.Proposed config
Scope
All three outbound paths must be covered:
CredentialsProviderProxyConfiguration.addProxy()withProxyConfiguration.Proxyauth settingsDefaultProxyRoutePlanner+CredentialsProvider(NTLM viaNTCredentials)NTLM is the complex case — HC5 has built-in support via
NTCredentialsbut Jetty's HttpClient does not natively support NTLM and may require routing through a local relay or a workaround.Prerequisites