Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignoring credentials in shared NSURLCredentialStorage




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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to 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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.