How do I pass the currently logged in user's credentials to a web service using Integrated Windows A
Posted
by Chris Smith
on Stack Overflow
See other posts from Stack Overflow
or by Chris Smith
Published on 2009-06-10T16:31:13Z
Indexed on
2010/04/07
11:43 UTC
Read the original article
Hit count: 287
I am having a frustrating time trying to do something with Perl that would take a couple of lines of code in C#, namely to call a web service on a Windows server that requires Integrated Windows Authentication.
The most likely candidate I've found for success is a module called LWP::Authen::Ntlm, but all the examples I've googled require you to explicitly supply username, password and domain. I don't want to do that - I just want the request to use the credentials of the currently logged in user, a la CredentialCache.DefaultCredentials in .NET.
Have any of you Perl gurus out there ever had to do this?
Thanks.
© Stack Overflow or respective owner