Module org.elasticsearch.xcore
Interface SslProfileExtension
public interface SslProfileExtension
A SPI extension point for defining SSL profiles.
Elasticsearch has a standard way of defining SSL Configuration in YAML (see
SslConfigurationLoader)
and we refer to each of these as either a "profile" or "context" (these are interchangeable, and both are used in the code,
however the latter can be confused with SSLContext).
Each profile is loaded on node startup, validated and its source files (PEM certificates, etc) are monitored for changes.
This extension point makes it easy for modules and plugins to define new profiles.-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyProfile(String prefix, SslProfile profile) Called after each SSL profile has been loaded and validated
-
Method Details
-
getSettingPrefixes
- Returns:
- the setting prefixes that this extension supports. For example
xpack.foo.sslIt must end in".ssl"
-
applyProfile
Called after each SSL profile has been loaded and validated
-