Hi X-Pack Security users,
In Shield 2.4 I have a setup whereby my Client authenticates as a transport_client user, and the Authorization header is added to each request using a FilterClient.
I would like to carry this approach over to X-Pack, however the ActionRequest class no longer has a putHeader method. The documentation at https://www.elastic.co/guide/en/x-pack/current/java-clients.html claims that you can putHeader when the requests are built, but this method does not seem to exist.
I appreciate any help you can offer.