Using NSURL authentication APIs for non-standard protocols
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