Re: [c3p0-users] encrypting users/passwords in c3p0-config.xml
Status: Beta
Brought to you by:
swaldman
|
From: Dobes V. <do...@gm...> - 2012-02-01 01:57:09
|
Perhaps you can make a copy of that static method and do your own thing. C3P0 is easy to configure programmatically. On Feb 1, 2012 4:05 AM, "Ostermueller, Erik" < Eri...@fi...> wrote: > All,**** > > ** ** > > We have a client asking us to encrypt the clear text users/passwords in > c3p0-config.xml.**** > > We’re trying to use jasypt, but can’t find a convenient place to plug > jasypt into the c3p0 configuration file processing.**** > > It looks like adding Spring or Hibernate would help with Jasypt+c3p0, but > that’s not an option for us.**** > > ** ** > > The method C3P0ConfigXmlUtils.extractConfigFromXmlDoc() looks like a nice > place to intercept the configuration process.**** > > But this method (and a number of others) are static and can’t be > overridden.**** > > ** ** > > Thanks,**** > > ** ** > > --Erik **** > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > c3p0-users mailing list > c3p...@li... > https://lists.sourceforge.net/lists/listinfo/c3p0-users > > |