• 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: Jerry Krinock <email@hidden>
  • Date: Thu, 10 May 2007 22:18:53 -0700


On 2007 May, 10, at 22:05, Dave Dribin wrote:

On May 10, 2007, at 8:01 PM, Jerry Krinock wrote:
So I constructed a quite complicated state machine which, among other things, checks to see what account they are logged in with, then if necessary puts up a dialog asking them if it's OK to log out, then logs in with the other account. (Safari puts passwords Keychain, so you can get them from there).

Along the same lines, I think the only way to force authentication would be to delete the item in the keychain. That wouldn't work in my situation, since I want to keep the keychain intact for the other app. I just don't want it consulted for this request/ connection/session.

No, I don't think so. I assure you, you have to execute code in order to a password out of Keychain.


NSHTTPCookieManager, on the other hand, "just works" whenever you use the Apple URL Loading System; no code is required. That must be what you are seeing.

_______________________________________________
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: Dave Dribin <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>)

  • 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