Module org.elasticsearch.security
Class FileRealm
java.lang.Object
org.elasticsearch.xpack.core.security.authc.Realm
org.elasticsearch.xpack.security.authc.support.CachingUsernamePasswordRealm
org.elasticsearch.xpack.security.authc.file.FileRealm
- All Implemented Interfaces:
Comparable<Realm>,CachingRealm
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.security.authc.Realm
Realm.Factory -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFileRealm(RealmConfig config, ResourceWatcherService watcherService, ThreadPool threadPool) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoAuthenticate(UsernamePasswordToken token, ActionListener<AuthenticationResult<User>> listener) protected voiddoLookupUser(String username, ActionListener<User> listener) voidusageStats(ActionListener<Map<String, Object>> listener) Methods inherited from class org.elasticsearch.xpack.security.authc.support.CachingUsernamePasswordRealm
authenticate, expire, expireAll, getCacheSize, handleCachedAuthentication, lookupUser, supports, tokenMethods inherited from class org.elasticsearch.xpack.core.security.authc.Realm
compareTo, getAuthenticationFailureHeaders, initialize, name, order, realmRef, setRealmRef, toString, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xpack.core.security.authc.support.CachingRealm
name
-
Constructor Details
-
FileRealm
-
-
Method Details
-
doAuthenticate
protected void doAuthenticate(UsernamePasswordToken token, ActionListener<AuthenticationResult<User>> listener) - Specified by:
doAuthenticatein classCachingUsernamePasswordRealm
-
doLookupUser
- Specified by:
doLookupUserin classCachingUsernamePasswordRealm
-
usageStats
- Overrides:
usageStatsin classCachingUsernamePasswordRealm
-