@ConfigurationProperties(value="micronaut.server.ssl") public class ServerSslConfiguration extends SslConfiguration
SslConfiguration
used for HTTP servers.Modifier and Type | Class and Description |
---|---|
static class |
ServerSslConfiguration.DefaultKeyConfiguration
The default
SslConfiguration.KeyConfiguration . |
static class |
ServerSslConfiguration.DefaultKeyStoreConfiguration
The default
SslConfiguration.KeyStoreConfiguration . |
static class |
ServerSslConfiguration.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 |
---|
ServerSslConfiguration()
Constructs the default server SSL configuration.
|
ServerSslConfiguration(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 ServerSslConfiguration(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 ServerSslConfiguration()