Bug 34315

Summary: sql:query needs user and password attributes
Product: Taglibs Reporter: Mike Hanafey <hanafey>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: other   

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.