Module org.elasticsearch.xcore
Package org.elasticsearch.xpack.core.ssl
Class SSLConfigurationSettings
java.lang.Object
org.elasticsearch.xpack.core.ssl.SSLConfigurationSettings
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<String, Setting.AffixSetting<List<String>>> static final SSLConfigurationSettings.SslSetting<List<String>> static final SSLConfigurationSettings.SslSetting<org.elasticsearch.core.TimeValue> static final SSLConfigurationSettings.SslSetting<SecureString> static final SSLConfigurationSettings.SslSetting<List<X509Field>> static final SSLConfigurationSettings.SslSetting<String> static final SSLConfigurationSettings.SslSetting<SecureString> static final SSLConfigurationSettings.SslSetting<Optional<String>> static final SSLConfigurationSettings.SslSetting<Optional<String>> static final Function<String, Setting.AffixSetting<Optional<SslVerificationMode>>> -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Setting<?>> static Collection<Setting.AffixSetting<?>> getRealmSettings(String realmType) List<Setting<? extends SecureString>> getSecureSettingsInUse(Settings settings) static SSLConfigurationSettingswithoutPrefix(boolean acceptNonSecurePasswords) Construct settings that are un-prefixed.static SSLConfigurationSettingswithPrefix(String prefix, boolean acceptNonSecurePasswords) Construct settings that have a prefixed.
-
Field Details
-
TRUSTSTORE_PATH
-
LEGACY_TRUSTSTORE_PASSWORD
-
TRUSTSTORE_PASSWORD
-
TRUST_STORE_ALGORITHM_TEMPLATE
-
TRUSTSTORE_ALGORITHM
-
TRUST_STORE_TYPE_TEMPLATE
-
TRUSTSTORE_TYPE
-
TRUST_RESTRICTIONS_X509_FIELDS_TEMPLATE
-
TRUST_RESTRICTIONS_X509_FIELDS
public static final SSLConfigurationSettings.SslSetting<List<X509Field>> TRUST_RESTRICTIONS_X509_FIELDS -
CAPATH_SETTING_TEMPLATE
-
CERT_AUTH_PATH
-
CAPATH_SETTING_REALM
-
VERIFICATION_MODE_SETTING_REALM
public static final Function<String,Setting.AffixSetting<Optional<SslVerificationMode>>> VERIFICATION_MODE_SETTING_REALM -
HANDSHAKE_TIMEOUT
public static final SSLConfigurationSettings.SslSetting<org.elasticsearch.core.TimeValue> HANDSHAKE_TIMEOUT
-
-
Method Details
-
getEnabledSettings
-
getDisabledSettings
-
withoutPrefix
Construct settings that are un-prefixed. That is, they can be used to read from aSettingsobject where the configuration keys are the root names of theSettings.- Parameters:
acceptNonSecurePasswords- Whether legacy (non-secure passwords) should be accepted
-
withPrefix
Construct settings that have a prefixed. That is, they can be used to read from aSettingsobject where the configuration keys are prefixed-children of theSettings.- Parameters:
prefix- A string that must end in"ssl."acceptNonSecurePasswords- Whether legacy (non-secure passwords) should be accepted
-
getProfileSettings
-
getRealmSettings
-
getSecureSettingsInUse
-