public class IamAuthConnectionPlugin extends AbstractConnectionPlugin
| Modifier and Type | Field and Description |
|---|---|
static int |
MYSQL_PORT |
static int |
PG_PORT |
protected RdsUtils |
rdsUtils |
protected static AwsWrapperProperty |
SPECIFIED_EXPIRATION |
protected static AwsWrapperProperty |
SPECIFIED_PORT |
protected static AwsWrapperProperty |
SPECIFIED_REGION |
| Constructor and Description |
|---|
IamAuthConnectionPlugin() |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
connect(java.lang.String driverProtocol,
HostSpec hostSpec,
java.util.Properties props,
boolean isInitialConnection,
JdbcCallable<java.sql.Connection,java.sql.SQLException> connectFunc) |
java.util.Set<java.lang.String> |
getSubscribedMethods() |
execute, initHostProvider, notifyConnectionChanged, notifyNodeListChangedpublic static final int PG_PORT
public static final int MYSQL_PORT
protected static final AwsWrapperProperty SPECIFIED_PORT
protected static final AwsWrapperProperty SPECIFIED_REGION
protected static final AwsWrapperProperty SPECIFIED_EXPIRATION
protected final RdsUtils rdsUtils
public java.util.Set<java.lang.String> getSubscribedMethods()
getSubscribedMethods in interface ConnectionPlugingetSubscribedMethods in class AbstractConnectionPluginpublic java.sql.Connection connect(java.lang.String driverProtocol,
HostSpec hostSpec,
java.util.Properties props,
boolean isInitialConnection,
JdbcCallable<java.sql.Connection,java.sql.SQLException> connectFunc)
throws java.sql.SQLException
connect in interface ConnectionPluginconnect in class AbstractConnectionPluginjava.sql.SQLException