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

public class FileServiceAccountTokenStore extends CachingServiceAccountTokenStore
  • Constructor Details

    • FileServiceAccountTokenStore

      public FileServiceAccountTokenStore(org.elasticsearch.env.Environment env, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.service.ClusterService clusterService, CacheInvalidatorRegistry cacheInvalidatorRegistry)
  • Method Details

    • doAuthenticate

      public void doAuthenticate(ServiceAccountToken token, org.elasticsearch.action.ActionListener<ServiceAccountTokenStore.StoreAuthenticationResult> listener)
    • getTokenSource

      public org.elasticsearch.xpack.core.security.action.service.TokenInfo.TokenSource getTokenSource()
    • findTokensFor

      public List<org.elasticsearch.xpack.core.security.action.service.TokenInfo> findTokensFor(ServiceAccount.ServiceAccountId accountId)
    • addListener

      public void addListener(Runnable listener)
    • shouldClearOnSecurityIndexStateChange

      public boolean shouldClearOnSecurityIndexStateChange()