Hello,
I am working on a projct that at some point requires me to acces a super simple webservice that just returns some JSON strings in response for a GET request.
HttpUtils2 is perfect for such tasks and worked well for me until the target service has migrated to NTLM protected IIS7 server.
If anyone has allready solved this I will gladly learn from a good example. If not i have this idea:
to create a short lib based on JCIFS that will generate Authenticate headers(Type1,2 and 3 NTLM messages) to use as responses for each subsquent 401 responses. Then we could handle unsuccesful server responses (error 401) each time server decides to negotiate authentication.
I plan to do this this way, not to interfere with original httputils2 library, but as I am new to this kind of stuff it may sound simplier for me than it actually is. Please share Your opinion on my idea. Would it be a possible way to go?
I am working on a projct that at some point requires me to acces a super simple webservice that just returns some JSON strings in response for a GET request.
HttpUtils2 is perfect for such tasks and worked well for me until the target service has migrated to NTLM protected IIS7 server.
If anyone has allready solved this I will gladly learn from a good example. If not i have this idea:
to create a short lib based on JCIFS that will generate Authenticate headers(Type1,2 and 3 NTLM messages) to use as responses for each subsquent 401 responses. Then we could handle unsuccesful server responses (error 401) each time server decides to negotiate authentication.
I plan to do this this way, not to interfere with original httputils2 library, but as I am new to this kind of stuff it may sound simplier for me than it actually is. Please share Your opinion on my idea. Would it be a possible way to go?