Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 88081 invoked from network); 5 Sep 2000 18:22:13 -0000 Received: from andromeda.orionsci.com (HELO athena.orionsci.com) (207.19.76.254) by locus.apache.org with SMTP; 5 Sep 2000 18:22:13 -0000 Received: from SMTP agent by mail gateway Tue, 05 Sep 2000 14:27:05 -0500 Received: from orionsci.com ([192.246.204.185]) by athena.orionsci.com (Post.Office MTA v3.5.2 release 221 ID# 0-64753U300L2S100V35) with ESMTP id com for ; Tue, 5 Sep 2000 14:26:14 -0400 Message-ID: <39B53941.9E7C921B@orionsci.com> Date: Tue, 05 Sep 2000 14:19:45 -0400 From: plen@orionsci.com (Len, Peter) Organization: ORION Scientific Systems X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: DB Connections and different Users??? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello, I currently am using the DBConnectionBroker to handle database connection pooling in my servlets. Just like the regular JDBC database connection class (I forgot exactly which class this is), two of the arguments are that of userid and password. Is there any way to change the username for the connection once the connection has already been made .... or is it that if, based on a database security model, I have to pass in the username and password that I have to create a new connection. Thanks, Peter Len