OpenSearch/x-pack/plugin/security
Albert Zaharovits 90285ee907
Deprecate timeout.tcp_read AD/LDAP realm setting (#47305)
The timeout.tcp_read AD/LDAP realm setting, despite the low-level
allusion, controls the time interval the realms wait for a response for
a query (search or bind). If the connection to the server is synchronous
(un-pooled) the response timeout is analogous to the tcp read timeout.
But the tcp read timeout is irrelevant in the common case of a pooled
connection (when a Bind DN is specified).

The timeout.tcp_read qualifier is hereby deprecated in favor of
timeout.response.

In addition, the default value for both timeout.tcp_read and
timeout.response is that of timeout.ldap_search, instead of the 5s (but
the default for timeout.ldap_search is still 5s). The
timeout.ldap_search defines the server-controlled timeout of a search
request. There is no practical use case to have a smaller tcp_read
timeout compared to ldap_search (in this case the request would time-out
on the client but continue to be processed on the server). The proposed
change aims to simplify configuration so that the more common
configuration change, adjusting timeout.ldap_search up, has the expected
result (no timeout during searches) without any additional
modifications.

Closes #46028
2020-01-29 10:48:26 +02:00
..
cli Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00
forbidden Add an OpenID Connect authentication realm (#40674) (#41178) 2019-04-15 12:41:16 +03:00
licenses [7.x] Update opensaml dependency (#44972) (#49512) 2019-11-29 00:17:16 +02:00
qa Improved diagnostics for TLS trust failures (#49669) 2019-11-29 15:01:20 +11:00
src Deprecate timeout.tcp_read AD/LDAP realm setting (#47305) 2020-01-29 10:48:26 +02:00
build.gradle Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00