You could try creating a Properties Object with the contents of your crypto properties file and passing that through instead of a URL?
Colm. On Fri, Oct 20, 2017 at 4:08 PM, [email protected] <[email protected]> wrote: > Yes I tried the full path and it won't work. The reason being the same, the > AbstractBindingBuilder.getCrypto method tries to load it from the > classpath. > If it doesn't find it then it throws a PolicyException. > > I cannot upgrade to cxf latest versions unfortunately. > > It looks like I could use a BusFactory (not SpringBusFactory). The reason I > say this is: when spring is used, this line of code gives one more resolver > for the ResourceManager than my code without spring: > > ResourceManager rm = > (ResourceManager)((Bus)this.message.getExchange().get(Bus. > class)).getExtension(ResourceManager.class); > > > With that one more spring resolver, the code is able to resolve the > resource > without any errors. Can I do something like this without the > SpringBusFactory? How do I use a BusFactory? I dont use spring in my > application because it is frowned upon so spring is out of the question. > > Any inputs is greatly appreciated. > > > > -- > Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
