Class SearchGuardSSLPlugin

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.elasticsearch.plugins.ActionPlugin, org.elasticsearch.plugins.NetworkPlugin
    Direct Known Subclasses:
    SearchGuardPlugin

    public class SearchGuardSSLPlugin
    extends org.elasticsearch.plugins.Plugin
    implements org.elasticsearch.plugins.ActionPlugin, org.elasticsearch.plugins.NetworkPlugin
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.elasticsearch.plugins.ActionPlugin

        org.elasticsearch.plugins.ActionPlugin.ActionHandler<Request extends org.elasticsearch.action.ActionRequest,​Response extends org.elasticsearch.action.ActionResponse>
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SearchGuardSSLPlugin​(org.elasticsearch.common.settings.Settings settings, Path configPath, boolean disabled)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.elasticsearch.common.settings.Settings additionalSettings()  
      Collection<Object> createComponents​(org.elasticsearch.client.Client localClient, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.env.Environment environment, org.elasticsearch.env.NodeEnvironment nodeEnvironment, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.repositories.RepositoriesService> repositoriesServiceSupplier)  
      Map<String,​Supplier<org.elasticsearch.http.HttpServerTransport>> getHttpTransports​(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.common.util.BigArrays bigArrays, org.elasticsearch.common.util.PageCacheRecycler pageCacheRecycler, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.network.NetworkService networkService, org.elasticsearch.http.HttpServerTransport.Dispatcher dispatcher, org.elasticsearch.common.settings.ClusterSettings clusterSettings)  
      List<org.elasticsearch.rest.RestHandler> getRestHandlers​(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController restController, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings, org.elasticsearch.common.settings.SettingsFilter settingsFilter, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster)  
      List<org.elasticsearch.common.settings.Setting<?>> getSettings()  
      List<String> getSettingsFilter()  
      List<org.elasticsearch.transport.TransportInterceptor> getTransportInterceptors​(org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.common.util.concurrent.ThreadContext threadContext)  
      Map<String,​Supplier<org.elasticsearch.transport.Transport>> getTransports​(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.common.util.PageCacheRecycler pageCacheRecycler, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.common.network.NetworkService networkService)  
      • Methods inherited from class org.elasticsearch.plugins.Plugin

        close, createGuiceModules, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingUpgraders, onIndexModule
      • Methods inherited from interface org.elasticsearch.plugins.ActionPlugin

        getActionFilters, getActions, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidators
    • Field Detail

      • log

        protected final org.apache.logging.log4j.Logger log
      • client

        protected final boolean client
      • httpSSLEnabled

        protected final boolean httpSSLEnabled
      • transportSSLEnabled

        protected final boolean transportSSLEnabled
      • settings

        protected final org.elasticsearch.common.settings.Settings settings
      • configPath

        protected final Path configPath
      • sharedGroupFactory

        protected final org.elasticsearch.transport.SharedGroupFactory sharedGroupFactory
    • Constructor Detail

      • SearchGuardSSLPlugin

        protected SearchGuardSSLPlugin​(org.elasticsearch.common.settings.Settings settings,
                                       Path configPath,
                                       boolean disabled)
    • Method Detail

      • getHttpTransports

        public Map<String,​Supplier<org.elasticsearch.http.HttpServerTransport>> getHttpTransports​(org.elasticsearch.common.settings.Settings settings,
                                                                                                        org.elasticsearch.threadpool.ThreadPool threadPool,
                                                                                                        org.elasticsearch.common.util.BigArrays bigArrays,
                                                                                                        org.elasticsearch.common.util.PageCacheRecycler pageCacheRecycler,
                                                                                                        org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService,
                                                                                                        org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry,
                                                                                                        org.elasticsearch.common.network.NetworkService networkService,
                                                                                                        org.elasticsearch.http.HttpServerTransport.Dispatcher dispatcher,
                                                                                                        org.elasticsearch.common.settings.ClusterSettings clusterSettings)
        Specified by:
        getHttpTransports in interface org.elasticsearch.plugins.NetworkPlugin
      • getRestHandlers

        public List<org.elasticsearch.rest.RestHandler> getRestHandlers​(org.elasticsearch.common.settings.Settings settings,
                                                                        org.elasticsearch.rest.RestController restController,
                                                                        org.elasticsearch.common.settings.ClusterSettings clusterSettings,
                                                                        org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings,
                                                                        org.elasticsearch.common.settings.SettingsFilter settingsFilter,
                                                                        org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver,
                                                                        Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster)
        Specified by:
        getRestHandlers in interface org.elasticsearch.plugins.ActionPlugin
      • getTransportInterceptors

        public List<org.elasticsearch.transport.TransportInterceptor> getTransportInterceptors​(org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry,
                                                                                               org.elasticsearch.common.util.concurrent.ThreadContext threadContext)
        Specified by:
        getTransportInterceptors in interface org.elasticsearch.plugins.NetworkPlugin
      • getTransports

        public Map<String,​Supplier<org.elasticsearch.transport.Transport>> getTransports​(org.elasticsearch.common.settings.Settings settings,
                                                                                               org.elasticsearch.threadpool.ThreadPool threadPool,
                                                                                               org.elasticsearch.common.util.PageCacheRecycler pageCacheRecycler,
                                                                                               org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService,
                                                                                               org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry,
                                                                                               org.elasticsearch.common.network.NetworkService networkService)
        Specified by:
        getTransports in interface org.elasticsearch.plugins.NetworkPlugin
      • createComponents

        public Collection<Object> createComponents​(org.elasticsearch.client.Client localClient,
                                                   org.elasticsearch.cluster.service.ClusterService clusterService,
                                                   org.elasticsearch.threadpool.ThreadPool threadPool,
                                                   org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService,
                                                   org.elasticsearch.script.ScriptService scriptService,
                                                   org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry,
                                                   org.elasticsearch.env.Environment environment,
                                                   org.elasticsearch.env.NodeEnvironment nodeEnvironment,
                                                   org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry,
                                                   org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver,
                                                   Supplier<org.elasticsearch.repositories.RepositoriesService> repositoriesServiceSupplier)
        Overrides:
        createComponents in class org.elasticsearch.plugins.Plugin
      • getSettings

        public List<org.elasticsearch.common.settings.Setting<?>> getSettings()
        Overrides:
        getSettings in class org.elasticsearch.plugins.Plugin
      • additionalSettings

        public org.elasticsearch.common.settings.Settings additionalSettings()
        Overrides:
        additionalSettings in class org.elasticsearch.plugins.Plugin
      • getSettingsFilter

        public List<String> getSettingsFilter()
        Overrides:
        getSettingsFilter in class org.elasticsearch.plugins.Plugin