Bug 34315 - sql:query needs user and password attributes
Summary: sql:query needs user and password attributes
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: unspecified
Hardware: All other
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2005-04-05 20:56 UTC by Mike Hanafey
Modified: 2006-12-13 12:57 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hanafey 2005-04-05 20:56:43 UTC
In some cases a connection retrieved from a DataSource needs to use the
DataSource.getConnection(userName, password) method. For example, the DBCP
PerUserPoolDataSource is a pool tied to specific users.

This is easily implemented by adding "user" and "password" as optional
attributes to sql:query (and other data access tags).

Is it feasible / reasonable for the Standard Taglib to support a user based
connection pool?
Comment 1 Henri Yandell 2006-12-13 12:57:57 UTC
I've reported this to the 1.2 RI:


We won't be fixing it unless the spec changes.