Hi,

I've set up a jaxrs server with spring security. Now, I want to create a
client to write some unit tests. I thought this would be a 5 minute job, but
I haven't been able to find information on how to create a basic
username/password configuration for it.

<jaxrs:client id="restClient"
        address="http://www.mysite.com.br:90/services/v1";
        serviceClass="com.mysite.ws.ContentImport"
        inheritHeaders="true">
        <jaxrs:
        <jaxrs:headers> 
                <entry key="Accept" value="text/xml"/> 
        </jaxrs:headers> 
</jaxrs:client>

Could anybody give me some hints on how to implement this?

Kind regards,

Marc
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Basic-authentication-jaxrs-client-tp3289261p3289261.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to