• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ignoring credentials in shared NSURLCredentialStorage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Ignoring credentials in shared NSURLCredentialStorage
      • From: Jerry Krinock <email@hidden>
References: 
 >Ignoring credentials in shared NSURLCredentialStorage (From: Dave Dribin <email@hidden>)
 >Re: Ignoring credentials in shared NSURLCredentialStorage (From: Jerry Krinock <email@hidden>)
 >Re: Ignoring credentials in shared NSURLCredentialStorage (From: Dave Dribin <email@hidden>)
 >Re: Ignoring credentials in shared NSURLCredentialStorage (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Ignoring credentials in shared NSURLCredentialStorage
  • Next by Date: Re: Ignoring credentials in shared NSURLCredentialStorage
  • Previous by thread: Re: Ignoring credentials in shared NSURLCredentialStorage
  • Next by thread: Re: Ignoring credentials in shared NSURLCredentialStorage
  • Index(es):
    • Date
    • Thread