org.jboss.jca.adapters.jdbc.extensions.mysql

## Class MySQLReauthPlugin

- java.lang.Object
- - org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLReauthPlugin

- All Implemented Interfaces:
    ReauthPlugin

      public class MySQLReauthPlugin
      extends java.lang.Object
      implements ReauthPlugin

  MySQL plugin for reauthentication
  Author:
    Jesper Pedersen

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MySQLReauthPlugin()` Default constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MySQLReauthPlugin

          public MySQLReauthPlugin()

      Default constructor

  - ### Method Detail

    - #### initialize

          public void initialize(java.lang.ClassLoader cl)
                          throws java.sql.SQLException

      Initialize
      Specified by:
        `initialize` in interface `ReauthPlugin`
      Parameters:
        `cl` - The class loader which can be used for initialization
      Throws:
        `java.sql.SQLException` - Thrown in case of an error

    - #### reauthenticate

          public void reauthenticate(java.sql.Connection c,
                                     java.lang.String userName,
                                     java.lang.String password)
                              throws java.sql.SQLException

      Reauthenticate
      Specified by:
        `reauthenticate` in interface `ReauthPlugin`
      Parameters:
        `c` - The connection
        `userName` - The user name
        `password` - The password
      Throws:
        `java.sql.SQLException` - Thrown in case of an error

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)