Re: basic authentication in cxf webservice client

2013-09-24 Thread Ash Ashkj
t; > On Sun, Sep 22, 2013 at 4:45 PM, Andrei Shakirin > wrote: > > Hi, > > You can take following system test as a basis: > https://svn.apache.org/repos/asf/cxf/trunk/systests/transports/src/test/java/org/apache/cxf/systest/http/auth/DigestAuthTest.java > > Regards, > Andrei.

RE: basic authentication in cxf webservice client

2013-09-24 Thread Andrei Shakirin
authPolicy.setPassword("bar"); http.setAuthorization(authPolicy); ... Regards, Andrei. From: Ash Ashkj [mailto:jainashw...@gmail.com] Sent: Sonntag, 22. September 2013 18:20 To: Andrei Shakirin Cc: users@cxf.apache.org<mailto:users@cxf.apache.org> Subject: Re: basic authenticat

RE: basic authentication in cxf webservice client

2013-09-22 Thread Andrei Shakirin
nntag, 22. September 2013 01:41 > To: users@cxf.apache.org > Subject: Re: basic authentication in cxf webservice client > > How do I setup digest auth type to webservice client using cxf? >

Re: basic authentication in cxf webservice client

2013-09-21 Thread ash
How do I setup digest auth type to webservice client using cxf?

Re: basic authentication in cxf webservice client

2010-02-03 Thread KnutIvar
>>>>> How do I pass basic authenticatin to webservice client using cxf. >>>>> >>>>> Can we use BindingProvider class for this. >>>> >>>> Yep. The BindingProvider has keys for both the username and the >>>> password.

Re: basic authentication in cxf webservice client

2010-02-02 Thread Gabo Manuel
Hi Saravanan, Sorry. Only noticed the workd 'client' just now. My bad. Gabo Gabo Manuel wrote: Hi Saravanan, This article aided me before: http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/ It could easily be adjusted to use Digest instead of Basic. Although afai

Re: basic authentication in cxf webservice client

2010-02-02 Thread Gabo Manuel
Hi Saravanan, This article aided me before: http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/ It could easily be adjusted to use Digest instead of Basic. Although afaik Dan has already added a means for CXF to support Digest auth out of the box. Hth. Gabo Saravana

Re: basic authentication in cxf webservice client

2010-02-02 Thread SaravananRamamoorthy
an we use BindingProvider class for this. >>> >>> Yep. The BindingProvider has keys for both the username and the >>> password. >>> Just set those on the RequestContext and it should be all set. >>> >>> Dan >>> >>> >>>> >>>> Regards >>>> Saravanan R >>>> >>> >>> -- >>> Daniel Kulp >>> dk...@apache.org >>> http://www.dankulp.com/blog >>> >>> >> >> > > -- View this message in context: http://old.nabble.com/basic-authentication-in-cxf-webservice-client-tp27406176p27429196.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: basic authentication in cxf webservice client

2010-02-02 Thread KnutIvar
;> >> Yep. The BindingProvider has keys for both the username and the >> password. >> Just set those on the RequestContext and it should be all set. >> >> Dan >> >> >>> >>> Regards >>> Saravanan R >>> >> >> -- >>

Re: basic authentication in cxf webservice client

2010-02-01 Thread SaravananRamamoorthy
gt; > > -- > Daniel Kulp > dk...@apache.org > http://www.dankulp.com/blog > > -- View this message in context: http://old.nabble.com/basic-authentication-in-cxf-webservice-client-tp27406176p27413071.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: basic authentication in cxf webservice client

2010-02-01 Thread Daniel Kulp
On Mon February 1 2010 10:37:06 am SaravananRamamoorthy wrote: > Hi All, > > I have generated webservice client using cxf wsdl2java. > > The webservice requires basic authentication. > > How do I pass basic authenticatin to webservice client using cxf. > > Can we use BindingProvider class for t

basic authentication in cxf webservice client

2010-02-01 Thread SaravananRamamoorthy
://old.nabble.com/basic-authentication-in-cxf-webservice-client-tp27406176p27406176.html Sent from the cxf-user mailing list archive at Nabble.com.