プロキシサーバー経由での Authlete API サーバーへのアクセス

認可サーバーから Authlete API サーバーへ、プロキシサーバーを経由してアクセスする場合、下記を参考に設定ください。

プロキシ関連のシステムプロパティ

java.net.useSystemProxies
http.proxyHost
http.proxyPort
https.proxyHost
https.proxyPort
http.nonProxyHosts
 

設定例

例1. java コマンドの引数として設定する
$ java -Djava.net.useSystemProxies=true ...
 
例2. 認可サーバーのソースコード内で programatically に設定する
System.setProperty("java.net.useSystemProxies", "true");
...
 

関連リンク

How did we do with this article?