Re: Overriding config.xml

2008-01-31 Thread jason marshall
My choices are, use an undocumented feature with a frozen library version, or repackage the jar file myself. You may know from previous messages that I'm trying very hard to ship our product with the original jar file from the website, so modifying xmlsec.jar is something I'm averse to. If you kn

Re: Overriding config.xml

2008-01-30 Thread jason marshall
False alarm. I figured it out. "/config/myconfig.xml" is the pattern I needed. I was having vague flashbacks of getResource from the bad old days. It seems that JDK1.5 at least has no trouble finding this in another JAR file from the xmlsec.jar Thanks, Jason On Jan 29, 2008 3:05 PM, Brent Put

Re: Overriding config.xml

2008-01-29 Thread Brent Putman
Well, it's undocumented AFAIK, so I don't know if this is considered "stable", but: You can set a system property "org.apache.xml.security.resource.config", prior to calling Init.init(), which controls which resource is loaded as the config file. Here's the code from Init which does the actua