tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50025] getConnection method in class DataSourceProxy is ignoring credentials
Date Mon, 03 Jan 2011 20:13:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50025

Filip Hanik <fhanik@apache.org> changed:

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

--- Comment #6 from Filip Hanik <fhanik@apache.org> 2011-01-03 15:12:51 EST ---
Created an attachment (id=26455)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message