Original commit: elastic/x-pack-elasticsearch@6437c6572d
This commit removes as much of the use of shield as possible in the source code. See elastic/elasticsearch#2383 Original commit: elastic/x-pack-elasticsearch@00009cc06e