I am trying to use a REST call to Sharepoint 2010 via HTTPClient 4.2.3
from a java Liferay 6.1 portlet on Mac OS 10.6.x (snow leopard).
The response I always get back is: HTTP/1.1 401 Unauthorized
I don't see an SSL handshake in the wire logs, but see a cookie and get a
401 unauthorized response.
You need to set the authorization header param I thik u r server is
expecting authorization param either disable it in server side or pass
correct param hope it is base64 encoded
On Feb 15, 2013 11:55 AM, "Chawla, Vanita" wrote:
> I am trying to use a REST call to Sharepoint 2010 via HTTPClient 4
I see the authorization header being sent below in the wire and header
logs.
[DEBUG] headers - >> Authorization: NTLM xxx
I also the message indicating auth cache not set.
[DEBUG] RequestAuthCache - Auth cache not set in the context
I am not sure if these are what you meant needs t
r u doing ntml authentication in server or basic authentication bcas u r
server may req basic auth and u may do ntml auth means u need to disable
basic auth in server side vice versa
On Feb 15, 2013 12:49 PM, "Chawla, Vanita" wrote:
> I see the authorization header being sent below in the wire an
On Fri, 2013-02-15 at 11:55 -0500, Chawla, Vanita wrote:
> I am trying to use a REST call to Sharepoint 2010 via HTTPClient 4.2.3
> from a java Liferay 6.1 portlet on Mac OS 10.6.x (snow leopard).
> The response I always get back is: HTTP/1.1 401 Unauthorized
>
> I don't see an SSL handshake in th
Thank you Oleg. Here it is:
https://hostname/sites/team-sites/operations/_vti_bin/owssvr.dll?Cmd%3DDisp
lay%26List%3D%7B6E460908-D470-4F8A-AF76-CC279E25E0B1%7D%26XMLDATA%3DTRUE
executing request: GET
https://hostname/sites/team-sites/operations/_vti_bin/ows
On Fri, 2013-02-15 at 15:24 -0500, Chawla, Vanita wrote:
> Thank you Oleg. Here it is:
>
Vanita,
SSL does not seem to be a factor. NTLM authentication failure is likely
due to one of two reasons: (1) genuine authentication failure doe to
invalid user credentials or (2) incompatibility between Ht
Thanks a lot for your insight Oleg!
I tried using the Java HttpURLConnection with another account and it
worked with NTLM and without needing SSL setup.
On 2/16/13 1:51 PM, "Oleg Kalnichevski" wrote:
>On Fri, 2013-02-15 at 15:24 -0500, Chawla, Vanita wrote:
>> Thank you Oleg. Here it is:
>>
>
>