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
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?