Package io.micronaut.http.ssl
Class ClientSslConfiguration
java.lang.Object
io.micronaut.http.ssl.SslConfiguration
io.micronaut.http.ssl.AbstractClientSslConfiguration
io.micronaut.http.ssl.ClientSslConfiguration
- All Implemented Interfaces:
Toggleable
@ConfigurationProperties("micronaut.http.client.ssl")
public class ClientSslConfiguration
extends AbstractClientSslConfiguration
The default
SslConfiguration
used for HTTP clients.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The defaultSslConfiguration.KeyConfiguration
.static class
The defaultSslConfiguration.KeyStoreConfiguration
.static class
The defaultSslConfiguration.TrustStoreConfiguration
.Nested classes/interfaces inherited from class io.micronaut.http.ssl.SslConfiguration
SslConfiguration.KeyConfiguration, SslConfiguration.KeyStoreConfiguration, SslConfiguration.TrustStoreConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The prefix used to resolve this configuration.Fields inherited from class io.micronaut.http.ssl.SslConfiguration
buildSelfSigned, DEFAULT_BUILDSELFSIGNED, DEFAULT_ENABLED, DEFAULT_PORT, DEFAULT_PROTOCOL, port
-
Constructor Summary
ConstructorDescriptionThe default client configuration.ClientSslConfiguration
(DefaultSslConfiguration defaultSslConfiguration, DefaultSslConfiguration.DefaultKeyConfiguration defaultKeyConfiguration, DefaultSslConfiguration.DefaultKeyStoreConfiguration defaultKeyStoreConfiguration, SslConfiguration.TrustStoreConfiguration defaultTrustStoreConfiguration) Overrides the default constructor and setsSslConfiguration.isEnabled()
to true. -
Method Summary
Methods inherited from class io.micronaut.http.ssl.AbstractClientSslConfiguration
isInsecureTrustAllCertificates, setInsecureTrustAllCertificates
Methods inherited from class io.micronaut.http.ssl.SslConfiguration
buildSelfSigned, getCiphers, getClientAuthentication, getHandshakeTimeout, getKey, getKeyStore, getPort, getProtocol, getProtocols, getTrustStore, isEnabled, readExisting, setBuildSelfSigned, setCiphers, setClientAuthentication, setEnabled, setHandshakeTimeout, setKey, setKeyStore, setPort, setProtocol, setProtocols, setTrustStore
-
Field Details
-
PREFIX
The prefix used to resolve this configuration.- See Also:
-
-
Constructor Details
-
ClientSslConfiguration
@Inject public ClientSslConfiguration(DefaultSslConfiguration defaultSslConfiguration, DefaultSslConfiguration.DefaultKeyConfiguration defaultKeyConfiguration, DefaultSslConfiguration.DefaultKeyStoreConfiguration defaultKeyStoreConfiguration, SslConfiguration.TrustStoreConfiguration defaultTrustStoreConfiguration) Overrides the default constructor and setsSslConfiguration.isEnabled()
to true.- Parameters:
defaultSslConfiguration
- The default SSL configdefaultKeyConfiguration
- The default key configdefaultKeyStoreConfiguration
- The default keystore configdefaultTrustStoreConfiguration
- The Default truststore config
-
ClientSslConfiguration
public ClientSslConfiguration()The default client configuration.
-