This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Using HttpClient I'm creating an NTCredentials object to pass to a request for a centralized xml document being served from a separate web app. This works fine if I specify my domain username and password. But I'm wary of having this stuff open and available in my source code. So I'm wondering if the NTLM authorization process can accept app-server defined usernames such as admin, manager, or guest. Or does this involve a different auth-type such as BASIC? Doesn't basic require a username/password prompt?
Thanks for the reply Ben. I found a good work-around. I basically had my server admin create a new user within the domain of the server. Passing that into the NTCredential object works great. There's no sense in changing an authentication type then having to workaround that. Thanks for the links.