Return-Path: Delivered-To: apmail-incubator-ibatis-user-java-archive@www.apache.org Received: (qmail 55246 invoked from network); 24 Mar 2005 14:20:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2005 14:20:34 -0000 Received: (qmail 36747 invoked by uid 500); 24 Mar 2005 14:20:33 -0000 Delivered-To: apmail-incubator-ibatis-user-java-archive@incubator.apache.org Received: (qmail 36723 invoked by uid 500); 24 Mar 2005 14:20:33 -0000 Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: ibatis-user-java@incubator.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 36710 invoked by uid 99); 24 Mar 2005 14:20:33 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of bdruth@gmail.com designates 64.233.184.198 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.198) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 24 Mar 2005 06:20:33 -0800 Received: by wproxy.gmail.com with SMTP id 68so761106wri for ; Thu, 24 Mar 2005 06:20:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VwgRjrgoBqRoy4sdNpc5+o6+2k+Jvlidbl3GOWHRPescwigOj885X/Yz02EBFc/3qQh0ZT28AfAAYVt9P6nvNQVuCm+xV1y6kIqlZAYQYIjPneeQFAG0DVgFWKsuxuQouDbIBC51vXMQYVRGwEMdDxCwyZX0zljx5GGPjR1jo2I= Received: by 10.54.98.2 with SMTP id v2mr175681wrb; Thu, 24 Mar 2005 06:20:31 -0800 (PST) Received: by 10.54.40.18 with HTTP; Thu, 24 Mar 2005 06:20:31 -0800 (PST) Message-ID: Date: Thu, 24 Mar 2005 08:20:31 -0600 From: Brice Ruth Reply-To: Brice Ruth To: ibatis-user-java@incubator.apache.org Subject: Re: Connection Proxy Authentication In-Reply-To: <20050324054036.36627.qmail@web51102.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050324054036.36627.qmail@web51102.mail.yahoo.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N My first shot at this (and I may be corrected), is that since iBATIS uses standard JDBC methods to handle connections & pools, you'll probably need to either find a wrapper or write a wrapper around the OCI connection pool that exposes a standard javax.sql.DataSource. Cheers! Brice Ruth On Wed, 23 Mar 2005 21:40:36 -0800 (PST), Temesgen Habtemariam wrote: > > Hello, > > I am trying to evaluate if IBATIS will work with a DB security requirements > on our project. We use Oracle DB and WLS. Our application is required to > make database user authentication on all queries/updates. The only way we > can do this and support connection pooling is by using Oracle's > OracleOCIConnectionPool DataSource. OracleOCIConnectionPool Datasource can > return a connection proxy that is bound to specific user with something > like: > > Connection c = dataSource.getProxyConnection (String proxytype, Properties > userProp); > > All our database access has to be through a connection proxy that is bound > to a specific user with an account in the database. Meaning we can't just > use getConnection method to get a connection from the datasource. We have to > use getProxyConnection and pass specific information about the requesting > user. > > I am kind of new to IBATIS so before I spend a lot of effort can anyone tell > me if this is something IBATIS can be configured to handle. > > Thanks!! > > ________________________________ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > >