Package org.graylog2.configuration
Class TLSProtocolsConfiguration
java.lang.Object
org.graylog2.configuration.TLSProtocolsConfiguration
Configuration bean for enabled TLS protocols.
This was extracted to a separate configuration bean
so that it can be parsed in the early server startup phase individually.
Parsing the entire server configuration might trigger the initialization of the default SSLContext,
which needs to happen after a `jdk.tls.disabledAlgorithms` setting is applied.
-
Constructor Summary
ConstructorDescriptionTLSProtocolsConfiguration
(Set<String> enabledTlsProtocols) Used to transfer this setting fromConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionUsed to access the plain configuration value.Retrieve the enabled TLS protocols setting.
-
Constructor Details
-
TLSProtocolsConfiguration
public TLSProtocolsConfiguration() -
TLSProtocolsConfiguration
Used to transfer this setting fromConfiguration
-
-
Method Details
-
getConfiguredTlsProtocols
Used to access the plain configuration value. In most cases you'd want to usegetEnabledTlsProtocols()
-
getEnabledTlsProtocols
Retrieve the enabled TLS protocols setting.- Returns:
- If the setting is explicitly configured (not null) return that. If it's configured to an empty set, return all supported protocols by the JVM. If it's not configured (null and the default) return a secure set of supported TLS protocols.
-