• 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
Using NSURL authentication APIs for non-standard protocols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NSURL authentication APIs for non-standard protocols


  • Subject: Using NSURL authentication APIs for non-standard protocols
  • From: Mike Abdullah <email@hidden>
  • Date: Fri, 19 Dec 2008 18:48:35 +0000
  • Resent-date: Sat, 20 Dec 2008 00:34:08 +0000
  • Resent-from: Mike Abdullah <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: Cocoa-dev List <email@hidden>

Has anyone had much luck using the NSURL authentication APIs for anything outside of http, https, ftp and ftps?

The first problem I ran into is that when creating an NSURLProtectionSpace object, specifying "ftp" as the protocol gets converted to "ftps". Likewise, trying to use "ssh" -> "http" or "https"

Secondly, I have a password stored in the keychain for my ssh account. if I use -[NSURLCredentialStorage allCredentials], I can see that it's not being recognized. Only http, https, ftp and ftps items appear to be picked up. Any ideas for how I could work around this or do I need to use the standard keychain APIs?

Mike.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Newbie Question: implementing a stack
  • Next by Date: Re: Drawing in a NSView out side of drawRect
  • Previous by thread: Re: Drawing in a NSView out side of drawRect
  • Next by thread: Using runtime functions to match up object types safely when setting properties
  • Index(es):
    • Date
    • Thread