Module org.elasticsearch.security
Class RealmUserLookup
java.lang.Object
org.elasticsearch.xpack.security.authc.support.RealmUserLookup
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RealmUserLookup
-
-
Method Details
-
getRealms
-
hasRealms
public boolean hasRealms() -
lookup
public void lookup(String principal, ActionListener<org.elasticsearch.core.Tuple<User, Realm>> listener) Lookup theprincipalin the list ofrealms. The realms are consulted in order. When one realm responds with a non-nullUser, this is returned with the matching realm, through thelistener. If no user if found (including the case where therealmslist is empty), thenActionListener.onResponse(Object)is called with anullTuple.
-