I have an update: the following client code works:
ClassPathXmlApplicationContext context = new
ClassPathXmlApplicationContext(
new String[]{"secure_cxf.xml"});
Hello client = (Hello)context.getBean("client1");
// invoke methods...
The only concern I have left is the fact that the user/pwd are clear-text in
the xml. Is there a way to define an external provider class that will
return them instead of writing them clear-text in the .xml? (I'm guessing
Spring can do something, but I'm no Spring expert...) or do I need to create
my own config layer on top of the xml?
thanks
--
View this message in context:
http://www.nabble.com/Basic-authentication-with-Spring-configured-client-tp17500802p19889075.html
Sent from the cxf-user mailing list archive at Nabble.com.