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 Fri, 22 Oct 2010 13:57:43 GMT

--- Comment #1 from 2010-10-22 09:57:37 EDT ---
Here's the description that I copy/pasted from the Spring forums: 

In Websphere I was able to wire an interceptor around all of my controllers and
set thread-bound DB credentials based on the path of the current request. In my
tcServer Developer edition (2.3.3 M1) this no longer works. My datasource is
wired as a

org.springframework.jdbc.datasource.UserCredential sDataSourceAdapter

I've verified that I'm calling the getConnection(String username, String
password) method with the correct credentials. However, the connection that is
returned is of type


with the same default credentials as those defined in server.xml. Is there
another way to set the database credentials at runtime?

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