Module org.elasticsearch.xcore
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 Summary
Modifier and TypeMethodDescriptionclient()An internal client for retrieving information/data from this clusterAccess to listen to changes in cluster state and settingsProvides access to key filesystem pathsProvides the ability to access project-scoped data from the global scopeProvides the ability to monitor files for changesProvides support for mapping users' roles from groups and metadatasettings()Global settings for the current nodeProvides the ability to access the APM tracer and meter registryThe Elasticsearch thread pools
-
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 -
projectResolver
ProjectResolver projectResolver()Provides the ability to access project-scoped data from the global scope -
telemetryProvider
TelemetryProvider telemetryProvider()Provides the ability to access the APM tracer and meter registry
-