Module org.elasticsearch.security
Class FileServiceAccountTokenStore
java.lang.Object
org.elasticsearch.xpack.security.authc.service.CachingServiceAccountTokenStore
org.elasticsearch.xpack.security.authc.service.FileServiceAccountTokenStore
- All Implemented Interfaces:
ServiceAccountTokenStore,CacheInvalidatorRegistry.CacheInvalidator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xpack.security.authc.service.ServiceAccountTokenStore
ServiceAccountTokenStore.StoreAuthenticationResult -
Field Summary
Fields inherited from class org.elasticsearch.xpack.security.authc.service.CachingServiceAccountTokenStore
CACHE_HASH_ALGO_SETTING, CACHE_MAX_TOKENS_SETTING, CACHE_TTL_SETTING -
Constructor Summary
ConstructorsConstructorDescriptionFileServiceAccountTokenStore(Environment env, ResourceWatcherService resourceWatcherService, ThreadPool threadPool, ClusterService clusterService, CacheInvalidatorRegistry cacheInvalidatorRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Runnable listener) voiddoAuthenticate(ServiceAccountToken token, ActionListener<ServiceAccountTokenStore.StoreAuthenticationResult> listener) findTokensFor(ServiceAccount.ServiceAccountId accountId) booleanMethods inherited from class org.elasticsearch.xpack.security.authc.service.CachingServiceAccountTokenStore
authenticate, getSettings, getThreadPool, invalidate, invalidateAll
-
Constructor Details
-
FileServiceAccountTokenStore
public FileServiceAccountTokenStore(Environment env, ResourceWatcherService resourceWatcherService, ThreadPool threadPool, ClusterService clusterService, CacheInvalidatorRegistry cacheInvalidatorRegistry)
-
-
Method Details
-
doAuthenticate
public void doAuthenticate(ServiceAccountToken token, ActionListener<ServiceAccountTokenStore.StoreAuthenticationResult> listener) -
getTokenSource
-
findTokensFor
-
addListener
-
shouldClearOnSecurityIndexStateChange
public boolean shouldClearOnSecurityIndexStateChange()
-