Hi Dan,
Thanks for the reply.
I had added the user name and password as below:
http.getAuthorization().setAuthorizationType("Negotiate"); // line 1
http.getAuthorization().setUserName("adeshpande"); //line 2
http.getAuthorization().setPassword("mypassword"); //line 3
I got the same error.
********************************************************************************
Caused by: java.net.ProtocolException: Server redirected too many times
(20)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2165)
... 13 more
**************************************************************************
I have tried with removing the line 1 above and just setting the username
and password and i still get the same error.
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-client-NTLM-Authentication-Issue-tp3303631p3303741.html
Sent from the cxf-user mailing list archive at Nabble.com.