Awesome -- also note that the exact same syntax DOES work in place of the <password> in the <database><driver><password>..</password></driver></database> nodes.
Aaron On 5/28/2010 2:14 PM, Scott Ferguson wrote: > Aaron Freeman wrote: > >> Sorry to bump this question, but any idea if this will be fixed in >> 4.0.7 or 4.0.8 (or if's even a bug or something I am doing wrong)? >> > I've added is as a bug report at http://bugs.caucho.com/view.php?id=4054. > > Since your syntax is correct for 4.0.x, this looks like a Resin bug. It > should be possible to fix in 4.0.8. > > -- Scott > >> Thanks, >> >> Aaron >> >> >> >>> Scott, >>> >>> Still struggling with the issue where we cannot encrypt passwords in >>> our resin.xml file. As you have indicated, there is now a better clue: >>> >>> C:\opt\. . .\conf\admin.xml:41: unable to create attribute >>> SetterAttribute[public void >>> com.caucho.vfs.JsseSSLFactory.setPassword(java.lang.String)] for >>> com.caucho.vfs.jssesslfact...@79f03d7 and >>> QName[{http://caucho.com/ns/resin}password] >>> >>> 39:<key-store-type>jks</key-store-type> >>> 40:<key-store-file>/opt/. . ./keys.kdb</key-store-file> >>> 41:<password xmlns:encryption="urn:java:com.encryption"> >>> 42:<encryption:Password>abcdf</encryption:Password> >>> 43:</password> >>> >>> Thanks, >>> >>> Aaron >>> >>> >>> On 3/22/2010 6:09 PM, Scott Ferguson wrote: >>> >>>> Aaron Freeman wrote: >>>> >>>> >>>>> O >>>>> Man, I don't see how I am blowing it then. Does this look right: >>>>> >>>>> <password xmlns:encryption="urn:java:[full package, not including the >>>>> class]"> >>>>> <encryption:[class name]>abcdefg</encryption:[class name]> >>>>> </password> >>>>> >>>>> Where the [full package, not including the class] would be something >>>>> like "java.util" and the class name would be something like "Hashmap" >>>>> with an uppercase first character like classes normally are capitalized? >>>>> >>>>> If so, I am a bit baffled. >>>>> >>>>> >>>>> >>>> That looks fine. I'll have a snapshot in a day or two with the improved >>>> error messages. That may give a better idea of the issue. >>>> >>>> You could also try removing the whitespace around the >>>> <encryption:Password> (it shouldn't matter, but then again your example >>>> should work.) >>>> >>>> -- Scott >>>> >>>> >>>>> Aaron >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> resin-interest mailing list >>>>> resin-interest@caucho.com >>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>>>> >>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> resin-interest mailing list >>>> resin-interest@caucho.com >>>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>>> >>>> >>>> >>>> >>>> No virus found in this incoming message. >>>> Checked by AVG - www.avg.com >>>> Version: 9.0.791 / Virus Database: 271.1.1/2764 - Release Date: 03/22/10 >>>> 14:44:00 >>>> >>>> >>>> >>> >>> _______________________________________________ >>> resin-interest mailing list >>> resin-interest@caucho.com >>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>> >>> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> resin-interest mailing list >> resin-interest@caucho.com >> http://maillist.caucho.com/mailman/listinfo/resin-interest >> >> > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > > > _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest