Re: Automatic fill in of logins in WebViews?
Re: Automatic fill in of logins in WebViews?
- Subject: Re: Automatic fill in of logins in WebViews?
- From: Paul Borokhov <email@hidden>
- Date: Mon, 19 Feb 2007 18:10:13 -0800
I'm loading a page in a webview in my app that includes a login form for which a password is already stored in the keychain by some other app (most likely Safari).
Since this isn't going to do it for me, what will?
Paul
----------Original Message----------
On 2/19/07 20:59 , Scott Anguish (email@hidden) wrote:
> you want it to fill in the page on the webview?
>
> this isn't going to do it for you.
>
>
> On Feb 19, 2007, at 5:16 PM, Paul Borokhov wrote:
>
>> Looks like it. If I'm reading the docs correctly, I'll need to:
>> - Create a new connection using NSURLConnection, which will look for
>> valid credentials "in the shared NSURLCredentialStorage"
>> - Implement a connectionDidFinishLoading: in the delegate
>> - When connectionDidFinishLoading: is sent by the NSURLConnection,
>> call loadData:MIMEType:textEncodingName:baseURL: on the main frame
>> of the WebView
>> Am I on the right track here?
>> Paul
>>
>> ----------Original Message----------
>> On 2/19/07 13:48 , Jerry Krinock (email@hidden) wrote:
>>> on 07/02/18 18:15, Paul Borokhov at email@hidden wrote:
>>>
>>>> Is there a way of automatically getting login forms inside WebViews
>>>> autofilled
>>>> with usersnames/passwords? For example, if in Safari I have a
>>>> password saved
>>>> for the page http://www.foo.com , and then I use a WebView in my
>>>> (Cocoa) app
>>>> to open the same page, how do I get the password to fill in
>>>> automatically?
>>>> Or do I have to do this "manually" by having my application perform the
>>>> Keychain lookup/authorization and then filling in the fields myself?
>>>
>>> I would say, you've got to do it yourself. Webkit renders HTML as
>>> views, it
>>> does not provide the bells and whistles you'd expect on a full-fledged web
>>> browser application. That's what all those people developing web browsers
>>> get paid the Big Rubles to do.
>> _______________________________________________
>>
>> 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
>
_______________________________________________
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