@ConfigurationProperties(value="micronaut.http.client.ssl") public class ClientSslConfiguration extends SslConfiguration
SslConfiguration
used for HTTP clients.Modifier and Type | Class and Description |
---|---|
static class |
ClientSslConfiguration.DefaultKeyConfiguration
The default
SslConfiguration.KeyConfiguration . |
static class |
ClientSslConfiguration.DefaultKeyStoreConfiguration
The default
SslConfiguration.KeyStoreConfiguration . |
static class |
ClientSslConfiguration.DefaultTrustStoreConfiguration
The default
SslConfiguration.TrustStoreConfiguration . |
SslConfiguration.KeyConfiguration, SslConfiguration.KeyStoreConfiguration, SslConfiguration.TrustStoreConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
The prefix used to resolve this configuration.
|
DEFAULT_BUILDSELFSIGNED, DEFAULT_ENABLED, DEFAULT_PORT, DEFAULT_PROTOCOL
Constructor and Description |
---|
ClientSslConfiguration()
The default client configuration.
|
ClientSslConfiguration(DefaultSslConfiguration defaultSslConfiguration,
DefaultSslConfiguration.DefaultKeyConfiguration defaultKeyConfiguration,
DefaultSslConfiguration.DefaultKeyStoreConfiguration defaultKeyStoreConfiguration,
SslConfiguration.TrustStoreConfiguration defaultTrustStoreConfiguration)
Overrides the default constructor and sets
SslConfiguration.isEnabled() to true. |
buildSelfSigned, getCiphers, getClientAuthentication, getKey, getKeyStore, getPort, getProtocol, getProtocols, getTrustStore, isEnabled, readExisting, setBuildSelfSigned, setCiphers, setClientAuthentication, setEnabled, setKey, setKeyStore, setPort, setProtocol, setProtocols, setTrustStore
public static final String PREFIX
@Inject public ClientSslConfiguration(DefaultSslConfiguration defaultSslConfiguration, DefaultSslConfiguration.DefaultKeyConfiguration defaultKeyConfiguration, DefaultSslConfiguration.DefaultKeyStoreConfiguration defaultKeyStoreConfiguration, SslConfiguration.TrustStoreConfiguration defaultTrustStoreConfiguration)
SslConfiguration.isEnabled()
to true.defaultSslConfiguration
- The default SSL configdefaultKeyConfiguration
- The default key configdefaultKeyStoreConfiguration
- The default keystore configdefaultTrustStoreConfiguration
- The Default truststore configpublic ClientSslConfiguration()