Class JasyncPoolConfiguration.JasyncSslConfiguration
java.lang.Object
io.micronaut.configuration.jasync.JasyncPoolConfiguration.JasyncSslConfiguration
- Enclosing class:
- JasyncPoolConfiguration
@ConfigurationProperties("ssl")
@Requires(property="jasync.client.ssl")
public static class JasyncPoolConfiguration.JasyncSslConfiguration
extends Object
Configuration for JAsync SSL.
-
Constructor Summary
ConstructorDescriptionJasyncSslConfiguration
(com.github.jasync.sql.db.SSLConfiguration.Mode mode, @Nullable String rootCert, @Nullable String clientCert, @Nullable String clientPrivateKey) Default constructor. -
Method Summary
Modifier and TypeMethodDescription@NonNull com.github.jasync.sql.db.SSLConfiguration
-
Constructor Details
-
JasyncSslConfiguration
@ConfigurationInject public JasyncSslConfiguration(@Bindable(defaultValue="Disable") com.github.jasync.sql.db.SSLConfiguration.Mode mode, @Nullable @Nullable String rootCert, @Nullable @Nullable String clientCert, @Nullable @Nullable String clientPrivateKey) Default constructor.- Parameters:
mode
- The moderootCert
- The certclientCert
- The client certclientPrivateKey
- The client private key
-
-
Method Details
-
getSslConfiguration
@NonNull public @NonNull com.github.jasync.sql.db.SSLConfiguration getSslConfiguration()- Returns:
- The SSL configuration
-