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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.