java.lang.Object
org.elasticsearch.xpack.security.authz.store.NativeRolesStore
All Implemented Interfaces:
BiConsumer<Set<String>,ActionListener<RoleRetrievalResult>>

public class NativeRolesStore extends Object implements BiConsumer<Set<String>,ActionListener<RoleRetrievalResult>>
NativeRolesStore is a RolesStore that, instead of reading from a file, reads from an Elasticsearch index instead. Unlike the file-based roles store, ESNativeRolesStore can be used to add a role to the store by inserting the document into the administrative index. No caching is done by this class, it is handled at a higher level