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

Reply via email to