tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50025] getConnection method in class DataSourceProxy is ignoring credentials
Date Mon, 03 Jan 2011 20:13:01 GMT

Filip Hanik <> changed:

           What    |Removed                     |Added
  Attachment #26363|0                           |1
        is obsolete|                            |

--- Comment #6 from Filip Hanik <> 2011-01-03 15:12:51 EST ---
Created an attachment (id=26455)
 --> (
Patch to allow the call DataSource.getConnection(username,password)

Here is the patch for allowing DataSource.getConnection(username, password) to
be used. In the case of a connection that is connected, is used with a
different username, password it is reconnected.
I'm hesitant to apply this patch at this time as it does slow down the pool
doing the passwords checks every time a connection is requested.

I will experiment with a flag to enable/disable the check

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message