Holds a username, password pair. Serves as a poolable object key for the KeyedObjectPool backing a SharedPoolDataSource. Two instances with the same username are considered equal. This ensures that there will be only one keyed pool for each user in the pool. The password is used (along with the username) by the KeyedCPDSConnectionFactory when creating new connections.
{@link InstanceKeyDataSource#getConnection(String,String)} validates that the password used to createa connection matches the password provided by the client.
@since 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|