• 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
NSURLCredentials properly loading for non-HTTP URLs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Unbinding NSArrayController's contentArray
  • Next by Date: Calculate the time difference using difftime yields unexpected result
  • Previous by thread: [ANN] UKSyntaxColoredTextDocument 0.3
  • Next by thread: Calculate the time difference using difftime yields unexpected result
  • Index(es):
    • Date
    • Thread