NSURLCredentials properly loading for non-HTTP URLs?
NSURLCredentials properly loading for non-HTTP URLs?
- Subject: NSURLCredentials properly loading for non-HTTP URLs?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 7 Mar 2007 18:08:52 -0700
I'm using NSURLCredential to store and load 'net passwords. When I
use it to save a password for an FTP site, NSURLCredentialStorage
properly stores the password in the Keychain and remembers it when
checking the protection space later in the application's life. But as
soon as I quit and re-load the application, NSURLCredentialStorage
returns nil when attempting to access the credentials for the same
protection space.
Looking at the results of calling [[NSURLCredentialStorage
sharedCredentialStorage] allCredentials], it returns all HTTP(S)
credentials in the keychain, but no FTP credentials. Before I file a
bug and work around this using the Security framework directly, I was
wondering: Has anyone encountered this problem before, and if so, how
can I work around this other than taking the long road?
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden