iphone - NTLM authentication from ios Client -
I have a web service in the net, for which NTLM (Windows based on IIS server) Authentication may be accessed. How can I NTLM-authenticate from the iOS client?
you can create
this representative (NSURLConnection *) connection willSendRequestForAuthenticationChallenge: (NSURLAuthenticationChallenge *) challenge
Challenge
[challenge.protectionspace.authenticationmethodEqualToString: NSURLAuthenticationMethodNTLM] If it is from NTLM, send credentials
NSURLCredential * credentail = [NSURL Credential Credential with User: & lt; Your username & gt; Password: & lt; Your password & gt; Persistence: NSURLCredentialPersistenceForSession]; [[Challenge Sender] User Central: credentail forAuthenticationChallenge: _challenge];
Comments
Post a Comment