public final class EnhydraWrapperUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Connection |
getSecureConnectionIfPossible(String user,
String password,
org.enhydra.jdbc.standard.StandardDataSource wrappedDataSource,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
Copy of Enhydra'
StandardDataSource getConnection method to include, if present, the necessary javax.net.ssl
properties. |
static void |
setTLSProperties(Properties prop,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory) |
public static Connection getSecureConnectionIfPossible(String user, String password, org.enhydra.jdbc.standard.StandardDataSource wrappedDataSource, org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory) throws SQLException
StandardDataSource getConnection method to include, if present, the necessary javax.net.ssl
properties. Original code remains the same.SQLExceptionpublic static void setTLSProperties(Properties prop, org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
Copyright © 2022. All rights reserved.