Original commit: elastic/x-pack-elasticsearch@7e3530a958
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