Re: Ignoring credentials in shared NSURLCredentialStorage
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