I've had a look at the DBCPDataSourceFactory source which is part of Cayenne
and think that a Password Encoder can easily be accommodated.
Don't know about JNDI.
Regards
Jurgen
-----Original Message-----
From: Michael Gentry
Sent: Thursday, March 13, 2014 5:33 PM
To: Cayenne Users
Subject: Re: DBCPDataSourceFactory
Ah yes, that's right. Same for JNDI, too. This is because the DB
connection is being provided by a framework outside of Cayenne.
mrg
On Thu, Mar 13, 2014 at 10:53 AM, <do...@xsinet.co.za> wrote:
Yes thanks Michael,
but unfortunately the Password Encoder tab becomes disabled when you
select DBCPDataSourceFactory.
Created a RFE in Jira for this: CAY-1910
Regards
Jurgen
-----Original Message----- From: Michael Gentry
Sent: Thursday, March 13, 2014 4:19 PM
To: Cayenne Users
Subject: Re: DBCPDataSourceFactory
On Thu, Mar 13, 2014 at 2:49 AM, <do...@xsinet.co.za> wrote:
I agree Andrus, however I'm not comfortable with having a username &
password in a properties file unless encrypted.
Now the XMLPoolingDataSourceFactory in the Modeler caters for a password
encoder, which is great.
Cayenne Modeler already supports encrypted passwords under the Password
Encoder tab for a DataNode if that is helpful.