I am using NTLM authentication and I find that when porting from 3.0.2
to 4.1, I have several questions:

1) Authenticating with domain and user works but with a UPN (like
   "[email protected]") authentication fails although both authenticate
   fine with my previous 3.0.2 code. Why does the UPN-style not work?

2) How should I set credentials for NTLM where there is no domain, like
   when using the UPN form? NTCredentials with domain "" or null, or
   UsernamePasswordCredentials? I have tried various combinations
   without success.

3) I am accessing a web service from outside the NT domain so I have no
   workstation name for the 3rd parameter to the NTCredentials
   constructor. I have tried passing null, "", or "somejunk" without
   success.

4) The NTCredentials constructor seems happy to set workstation to null
   but I find that when it is null a NullPointerException is thrown from
   somewhere within your NTLM code.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to