Class MySQLReauthPlugin
- java.lang.Object
-
- org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLReauthPlugin
-
- All Implemented Interfaces:
ReauthPlugin
public class MySQLReauthPlugin extends Object implements ReauthPlugin
MySQL plugin for reauthentication- Author:
- Jesper Pedersen
-
-
Constructor Summary
Constructors Constructor Description MySQLReauthPlugin()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(ClassLoader cl)Initializevoidreauthenticate(Connection c, String userName, String password)Reauthenticate
-
-
-
Method Detail
-
initialize
public void initialize(ClassLoader cl) throws SQLException
Initialize- Specified by:
initializein interfaceReauthPlugin- Parameters:
cl- The class loader which can be used for initialization- Throws:
SQLException- Thrown in case of an error
-
reauthenticate
public void reauthenticate(Connection c, String userName, String password) throws SQLException
Reauthenticate- Specified by:
reauthenticatein interfaceReauthPlugin- Parameters:
c- The connectionuserName- The user namepassword- The password- Throws:
SQLException- Thrown in case of an error
-
-