You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Sandeep Khanzode <sa...@yahoo.com.INVALID> on 2014/06/25 13:13:05 UTC
CXF 2.5.x/2.7.x authentication using NTLM with SharePoint Web Services
Hi,
I am trying to authenticate for SharePoint 2010/2013 web services using NTLM.
The SOAP web services are consumed using the Apache CXF 2.5.x client. I have also tried 2.7.x versions.
My client programming is in Java, JDKv1.7. However, the NTLM authentication does not work. I have been trying various approaches. The CXF site seems to suggest that JDK5+ should support NTLM out-of-the-box.
However, the client always uses the credentials of the logged-in user of Windows OS where the Java client is run. I have checked this link: http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
I am unable to specify a different user. I mean, programmatically, I need to be able to provide credentials of different users at runtime and be able to authenticate using those credentials, and not the credentials of the logged-in user.
Please assist with this issue. Thanks,
-----------------------
Thanks n Regards,
Sandeep Ramesh Khanzode