OpenSearch/client
Tim Brooks 7a8884d9fa Wrap rest httpclient with doPrivileged blocks (#22603)
This is related to #22116. A number of modules (reindex, etc) use the
rest client. The rest client opens connections using the apache http
client. To avoid throwing SecurityException when using the
SecurityManager these operations must be privileged. This is tricky
because connections are opened within the httpclient code on its
reactor thread. The way I confronted this was to wrap the creation
of the client (and creation of reactor thread) in a doPrivileged
block. The new thread inherits the existing security context.
2017-01-16 09:17:44 -06:00
..
benchmark Remove `modules/transport_netty_3` in favor of `netty_4` (#21590) 2016-11-17 12:44:42 +01:00
client-benchmark-noop-api-plugin Make StatusToXContent extend ToXContentObject and rename it to StatusToXContentObject 2017-01-06 23:31:48 +01:00
rest Wrap rest httpclient with doPrivileged blocks (#22603) 2017-01-16 09:17:44 -06:00
rest-high-level Make RestHighLevelClient non final 2017-01-05 11:29:41 +01:00
sniffer Update Jackson to 2.8.6 (#22596) 2017-01-13 09:05:48 +01:00
test [TEST] move randomHeaders method from RestClientTestCase to RestClientTestUtil and simplify headers assertions 2017-01-05 10:55:47 +01:00
transport Upgrade to Netty 4.1.7 2017-01-12 10:58:21 -05:00