public class SSLOptionsUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APPLICATION_INSIGHTS_SSL_PROTOCOLS_PROPERTY |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
getAllowedProtocols()
Finds the list of supported SSL/TLS protocols.
|
public static final java.lang.String APPLICATION_INSIGHTS_SSL_PROTOCOLS_PROPERTY
public static java.lang.String[] getAllowedProtocols()
Finds the list of supported SSL/TLS protocols. If custom protocols are specified with the system property "applicationinsights.ssl.protocols", this overrides the defaults. An error will be logged if the property contains no supported protocols.
If no supported protocols are specified, the defaults are used (see static constructor). If no default protocols are available on this JVM, an error is logged.
NoSupportedProtocolsException - If the defaults are to be used and none of the defaults are supported by this JVM