https://issues.apache.org/bugzilla/show_bug.cgi?id=50025
--- Comment #1 from bsny...@apache.org 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

proxyconnection[pooledconnection[oracle.jdbc.driver.t4cconnect...@6ab4a7]]

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

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to