geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Gregory <>
Subject Re: proxy session w/ built-in dbcp + openjpa
Date Tue, 12 Feb 2008 03:09:40 GMT

I've done a little research since the last post and found that tranql
documentation is pretty much non-existent, not to mention the project looks
mostly dead. 

Anyway, I have a custom LoginModule that with do the front-line
authentication straight from Oracle users and populate the principals as
needed. I also have JPA code working from a console defined database pool,
but was just looking for that one piece that would allow me to to the proxy.

I think I understand what you're suggesting but how do I get geronimo to use
the new class instead of the default? I used the console database pool
configuration and it doesn't contain any class references besides the jdbc

The console doesn't seem to generate a working deployment descriptor:

<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="">

djencks wrote:
> On Feb 11, 2008, at 6:35 AM, Brian Gregory wrote:
>> 1. Misconception on my part, what library is used for connection  
>> pooling?
>> (Where is this is the docs?)
> Dunno about docs.  The basic implementation is in
> geronimo-connector
>   and the gbean wrappers and deployment code are in
>> 2. Proxy session is another name for changing the user credentials  
>> on an
>> oracle connection. OracleConnection.openProxySession()
>> 3. I'm not familiar with tranql. Can you point me to the  
>> documentation?
> Again, no docs I know of.
> especially vendors/oracle/trunk
> I think what you want to do is override  
> AbstractXADataSourceMCF.matchManagedConnections in the oracle  
> subclass so if there is no match on connections with their existing  
> credentials it calls openProxySession on one of the connections to  
> switch users.  If openProxySession is very lightweight then just  
> calling it without a search would be reasonable.
> Out of curiousity, how are you supplying the correct user to the  
> connector?  Application managed security (datasource.getConnection 
> (user, password) or container managed security (using the identity of  
> the logged in user as tracked by the app server, possibly mapped with  
> an appropriate login module)?
> Hope this helps and let us know if you run into problems or succeed :-)
> thanks
> david jencks

View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message