diff --git a/securing_apps/topics/oidc/java/java-adapter-config.adoc b/securing_apps/topics/oidc/java/java-adapter-config.adoc index f5b54693ec..c5d29556e3 100644 --- a/securing_apps/topics/oidc/java/java-adapter-config.adoc +++ b/securing_apps/topics/oidc/java/java-adapter-config.adoc @@ -27,6 +27,9 @@ This is what one might look like: }, "connection-pool-size" : 20, + "socket-timeout-millis": 5000, + "connection-timeout-millis": 6000, + "connection-ttl-millis": 500, "disable-trust-manager": false, "allow-any-hostname" : false, "truststore" : "path/to/truststore.jks", @@ -150,6 +153,27 @@ connection-pool-size:: This is _OPTIONAL_. The default value is `20`. +socket-timeout-millis:: + Timeout for socket waiting for data after establishing the connection in milliseconds. + Maximum time of inactivity between two data packets. + A timeout value of zero is interpreted as an infinite timeout. + A negative value is interpreted as undefined (system default if applicable). + The default value is `-1`. + This is _OPTIONAL_. + +connection-timeout-millis:: + Timeout for establishing the connection with the remote host in milliseconds. + A timeout value of zero is interpreted as an infinite timeout. + A negative value is interpreted as undefined (system default if applicable). + The default value is `-1`. + This is _OPTIONAL_. + +connection-ttl-millis:: + Connection time-to-live for client in milliseconds. + A value less than or equal to zero is interpreted as an infinite value. + The default value is `-1`. + This is _OPTIONAL_. + disable-trust-manager:: If the {project_name} server requires HTTPS and this config option is set to `true` you do not have to specify a truststore. This setting should only be used during development and *never* in production as it will disable verification of SSL certificates. diff --git a/securing_apps/topics/saml/java/general-config/idp_httpclient_subelement.adoc b/securing_apps/topics/saml/java/general-config/idp_httpclient_subelement.adoc index 73e61cbd49..43b5ea5809 100644 --- a/securing_apps/topics/saml/java/general-config/idp_httpclient_subelement.adoc +++ b/securing_apps/topics/saml/java/general-config/idp_httpclient_subelement.adoc @@ -16,7 +16,10 @@ verification via SAML descriptor of the IDP when clientKeystorePassword="pwd" truststore="classpath:truststore.jks" truststorePassword="pwd" - proxyUrl="http://proxy/" /> + proxyUrl="http://proxy/" + socketTimeout="5000" + connectionTimeout="6000" + connectionTtl="500" /> ---- connectionPoolSize:: @@ -65,3 +68,24 @@ clientKeystorePassword:: proxyUrl:: URL to HTTP proxy to use for HTTP connections. This is _OPTIONAL_. + +socketTimeout:: + Timeout for socket waiting for data after establishing the connection in milliseconds. + Maximum time of inactivity between two data packets. + A timeout value of zero is interpreted as an infinite timeout. + A negative value is interpreted as undefined (system default if applicable). + The default value is `-1`. + This is _OPTIONAL_. + +connectionTimeout:: + Timeout for establishing the connection with the remote host in milliseconds. + A timeout value of zero is interpreted as an infinite timeout. + A negative value is interpreted as undefined (system default if applicable). + The default value is `-1`. + This is _OPTIONAL_. + +connectionTtl:: + Connection time-to-live for client in milliseconds. + A value less than or equal to zero is interpreted as an infinite value. + The default value is `-1`. + This is _OPTIONAL_.