public class MySQLReauthPlugin extends java.lang.Object implements ReauthPlugin
Constructor and Description |
---|
MySQLReauthPlugin()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
initialize(java.lang.ClassLoader cl)
Initialize
|
void |
reauthenticate(java.sql.Connection c,
java.lang.String userName,
java.lang.String password)
Reauthenticate
|
public void initialize(java.lang.ClassLoader cl) throws java.sql.SQLException
initialize
in interface ReauthPlugin
cl
- The class loader which can be used for initializationjava.sql.SQLException
- Thrown in case of an errorpublic void reauthenticate(java.sql.Connection c, java.lang.String userName, java.lang.String password) throws java.sql.SQLException
reauthenticate
in interface ReauthPlugin
c
- The connectionuserName
- The user namepassword
- The passwordjava.sql.SQLException
- Thrown in case of an errorCopyright © 2013 IronJacamar (http://www.ironjacamar.org)