MySQLAuthOptions |
MySQLAuthOptions.addProperty(String key,
String value) |
Add a property for this client, which will be sent to server at the re-authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setCharset(String charset) |
Set the charset for the connection.
|
MySQLAuthOptions |
MySQLAuthOptions.setCollation(String collation) |
Set the collation for the connection.
|
MySQLAuthOptions |
MySQLAuthOptions.setDatabase(String database) |
Specify the default database for the re-authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setPassword(String password) |
Specify the user password to be used for the authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setProperties(Map<String,String> properties) |
Set connection attributes which will be sent to server at the re-authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setServerRsaPublicKeyPath(String serverRsaPublicKeyPath) |
Set the path of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setServerRsaPublicKeyValue(Buffer serverRsaPublicKeyValue) |
Set the value of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.
|
MySQLAuthOptions |
MySQLAuthOptions.setUser(String user) |
Specify the user account to be used for the authentication.
|