ntlmv2

Java HTTP call to Sharepoint 2010 oData fails

左心房为你撑大大i 提交于 2020-01-01 19:57:29
问题 I am calling a Sharepoint 2010 oData service from Java which is resulting in a 400 error. I can connect to a Sharepoint 2010 list in XML format via the same code (using NTLM) successfully. I see a related post HttpClient using both SSL encryption and NTLM authentication fails which talks of the same service (listdata.svc) and the 400 error. Does anyone know what exact setting was used to resolve the error in the post above? Does anyone know if they are referring to the .NET Authorization

Verifying NTLMv2 authentication in Java

霸气de小男生 提交于 2019-12-24 03:16:06
问题 So I'm trying to track down a strange bug with NTLMv2 and Java. It seems like NTLM is ignoring any information I pass in during the Java based authentication, and finds the information somewhere else. Because of this, NTLM will authenticate on my machine, even if I provide the incorrect information, and won't work on any other machine even when the correct information is provided. The endpoint is the MOSS 2007 webservice API if that's relevant. Here's the process I'm using to authenticate: 1)

MonoTouch support for accessing Mono.Security.Protocol.Ntlm.NtlmFlags

ε祈祈猫儿з 提交于 2019-12-13 14:09:58
问题 We use NTLM auth to access an ASP.net web services from our MonoTouch app and everything works fine. One of our customers uses the same app and the NTLM auth fails from our app but works from the iPad's Safari browser. Looking at the packet flow from the customer, the server does not return NTLMSSP_CHALLENGE , when our app sends NTLMSSP_NEGOTIATE message. Looking the differences between our app's NTLMSSP_NEGOTIATE message and iPad's Safari same message Our MT app sets the NTLM flags to 0xb203

NTLM token verification in Java

旧巷老猫 提交于 2019-12-13 03:37:47
问题 I want to verify/authenticate the type3message that Apache httpd server has received from the client browser and passed to Apache Tomcat . I am just not able to figure out how to do it. I have the following mechanism in place as depicted here. C is the client. S1 is the Apache httpd server and S2 is the Apache Tomcat server. 1. C -> S1 GET ... 2. S1 -> C 401 Unauthorized WWW-Authenticate: NTLM 3. C -> S1 GET ... (type 1 message) Authorization: NTLM

Connecting to NTLMv2 from Java\httpclient 3\linux

一个人想着一个人 提交于 2019-12-10 14:28:11
问题 I am using MAC and LINUX, java6 and apache http-client 3.1 to connect to sharepoint with NTLM auth. I connect to ntlm using http://jcifs.samba.org/ and it worked fine until I had to connect to NTLMv2. I tried this http://devsac.blogspot.com/2010/10/supoprt-for-ntlmv2-with-apache.html but it doesnt work for me with NTLMv2, Is there any way to make my httpclient 3.1 connect to NTLMv2 ? if not, is there a way to connect java to NTLMv2 without httpclient? thanks 回答1: found an answer, httpclient

Does Server decide what Authentication Method is to be followed?

那年仲夏 提交于 2019-12-08 12:15:50
问题 For a Web Application, Does the Server decide what authentication method is to be followed or is it the Client. Are Authentication methods like NTLM and Kerberos Browser specific. In a intranet web application, where does BASIC and Diget stand as compared to NTLM and Kerberos? Thank You :) 回答1: As discussed in RFC 2617, it requires the cooperation of both parties. When credentials are required to access a resource, the server will send back a 401 response with one or more WWW-Authenticate

Java HTTP call to Sharepoint 2010 oData fails

隐身守侯 提交于 2019-12-04 21:54:04
I am calling a Sharepoint 2010 oData service from Java which is resulting in a 400 error. I can connect to a Sharepoint 2010 list in XML format via the same code (using NTLM) successfully. I see a related post HttpClient using both SSL encryption and NTLM authentication fails which talks of the same service (listdata.svc) and the 400 error. Does anyone know what exact setting was used to resolve the error in the post above? Does anyone know if they are referring to the .NET Authorization Rules in IIS? We are using IIS 7.5. My code looks like this: String responseText = getAuthenticatedResponse