Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 96319 invoked from network); 17 Aug 2007 10:04:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 10:04:46 -0000 Received: (qmail 5226 invoked by uid 500); 17 Aug 2007 10:04:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 5206 invoked by uid 500); 17 Aug 2007 10:04:30 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 5195 invoked by uid 99); 17 Aug 2007 10:04:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 03:04:30 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 24.24.2.59 is neither permitted nor denied by domain of dns4@cornell.edu) Received: from [24.24.2.59] (HELO ms-smtp-05.nyroc.rr.com) (24.24.2.59) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 10:04:49 +0000 Received: from [192.168.5.102] (cpe-24-59-111-127.twcny.res.rr.com [24.59.111.127]) by ms-smtp-05.nyroc.rr.com (8.13.6/8.13.6) with ESMTP id l7HA44h1022231 for ; Fri, 17 Aug 2007 06:04:05 -0400 (EDT) Message-ID: <46C57294.9010206@cornell.edu> Date: Fri, 17 Aug 2007 06:04:04 -0400 From: David Smith User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Resource Security References: <640358900708170050n633c3e8ep36f8672549b74020@mail.gmail.com> In-Reply-To: <640358900708170050n633c3e8ep36f8672549b74020@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org Nope. You could write your own db pool init code in a ServletContextListener and then do anything you want as far as how to store the pool configuration if you really need to encrypt the password. The standard tomcat configuration files don't offer any facility for encrypting passwords though. --David Andrew Hole wrote: > Is it possible encrypt password on Resource setup? > > factory="oracle.jdbc.pool.OracleDataSourceFactory" > driverClassName="oracle.jdbc.OracleDriver" > url="jdbc:oracle:thin:@DATABASE_IP:1521:DATABASE_NAME" user="username" > password="password" /> > > Thanks > Andew > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org