Re: Ignoring credentials in shared NSURLCredentialStorage
Re: Ignoring credentials in shared NSURLCredentialStorage
- Subject: Re: Ignoring credentials in shared NSURLCredentialStorage
- From: Dave Dribin <email@hidden>
- Date: Fri, 11 May 2007 00:32:04 -0500
On May 11, 2007, at 12:18 AM, Jerry Krinock wrote:
No, I don't think so. I assure you, you have to execute code in
order to a password out of Keychain.
That's not what I'm seeing. Maybe I'm doing something to enable the
keychain and I'm not aware of it, but I'm beginning to think this is
standard behavior. See "Handling Authentication Challenges" in:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
URLLoadingSystem/Tasks/UsingNSURLConnection.html>
Quote:
If a request requires authentication and there are no valid
credentials available, either as part of the requested URL or in
the shared NSURLCredentialStorage, the NSURLConnection delegate
receives a connection:didReceiveAuthenticationChallenge: message.
This seems to imply that the delegate receives
connection:didReceiveAuthenticationChallenge: only if the credentials
were not found in the shared NSURLCredentialStorage.
-Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden