Mike, Thanks a lot! Since I used DBCP datasource as following: <property name="openjpa.ConnectionProperties" value="driverClassName=oracle.jdbc.driver.OracleDriver, url=jdbc:oracle:thin:@localhost:1521:orcl, username=XXX, password=XXX, maxActive=8, maxWait=10000, poolPreparedStatements=true" />
May I encrypt a sub string of property value rather than full property value string? Anyway, when will this feature be available? In a new release or a rolling patch? Regards, Yu Wang On Fri, Aug 7, 2009 at 9:33 PM, Michael Dick<michael.d.d...@gmail.com> wrote: > Hi Yu, > > At the moment our support allows you to specify an 'Encryption Provider' > which handles the encryption / decryption of a password. We aren't providing > a tool to do the actual encryption - just a plugin point for other tools. > > It sounds like you have written the encryption code in your extension for > DBCP so it should be fairly easy to wrap in an encryption provider. > > Hope this helps, > -mike > > On Fri, Aug 7, 2009 at 1:25 AM, wang yu <wangy...@gmail.com> wrote: > >> Rick, >> Thank you for your information. I have resolved this issue by >> modifying dbcp source code. >> The bad part is dbcp can be built with jdk 1.4 only which made build >> system little bit complicated:-) >> >> If you can deliver encryption feature in next release, I'll be very >> pleased to use it. >> >> Regards, >> Yu Wang >> >> >> On Fri, Aug 7, 2009 at 5:22 AM, Rick Curtis<curti...@gmail.com> wrote: >> > >> > Yu Wang - >> > >> > OPENJPA-1089[1] wasn't your exact problem, but I want you to be aware >> that a >> > change was made. >> > >> > Thanks - >> > Rick >> > >> > [1] https://issues.apache.org/jira/browse/OPENJPA-1089 >> > -- >> > View this message in context: >> http://n2.nabble.com/How-to-encrypt-DB-password-in-persistence.xml-tp2868212p3400811.html >> > Sent from the OpenJPA Users mailing list archive at Nabble.com. >> > >> >