Interface SecurityExtension.SecurityComponents

Enclosing interface:
SecurityExtension

public static interface SecurityExtension.SecurityComponents
This interface provides access to components (clients and services) that may be used within custom realms and role providers.
  • Method Details

    • settings

      Settings settings()
      Global settings for the current node
    • environment

      Environment environment()
      Provides access to key filesystem paths
    • client

      Client client()
      An internal client for retrieving information/data from this cluster
    • threadPool

      ThreadPool threadPool()
      The Elasticsearch thread pools
    • resourceWatcherService

      ResourceWatcherService resourceWatcherService()
      Provides the ability to monitor files for changes
    • clusterService

      ClusterService clusterService()
      Access to listen to changes in cluster state and settings
    • roleMapper

      UserRoleMapper roleMapper()
      Provides support for mapping users' roles from groups and metadata