Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

GeckoPort & HTTP Auth

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alex Shishkin

How to open page with HTTPAuth? It shows prompt with only 'OK' &'Cancel' with no text and no place to input credentials in infinite loop.

José Mejuto
to Alex Shishkin

Hello Lazarus-List,

Thursday, January 27, 2011, 8:11:48 PM, you wrote:

AS> How to open page with HTTPAuth? It shows prompt with only 'OK' &'Cancel' AS> with no text and no place to input credentials in infinite loop.

There is no support for security authentication in the current implementation.

Gecko port is more targetted to an html render than a browser, so more functions where added in the render and embed field than in other like authentication, file saves, and other interactive operations.

If you really need it I can try to add some kind of event to allow the user to display a message box or any other window and fill the authentication needed.

Best regards, Jos?
Alex Shishkin
to José Mejuto

27.01.2011 22:56, Jos? Mejuto ?????:

Show quoted text 18 lines
Hello Lazarus-List, Thursday, January 27, 2011, 8:11:48 PM, you wrote: AS> How to open page with HTTPAuth? It shows prompt with only 'OK'&'Cancel' AS> with no text and no place to input credentials in infinite loop. There is no support for security authentication in the current implementation. Gecko port is more targetted to an html render than a browser, so more functions where added in the render and embed field than in other like authentication, file saves, and other interactive operations. If you really need it I can try to add some kind of event to allow the user to display a message box or any other window and fill the authentication needed.

It will be good to add callback to set user defined factory for prompt windows. I not figured out how to register it. (I need to be able toset credentials without prompt)

José Mejuto
to Alex Shishkin

Hello Lazarus-List,

you wrote
> If you really need it I can try to add some kind of event to allow the > user to display a message box or any other window and fill the > authentication needed.

AS> It will be good to add callback to set user defined factory for prompt AS> windows. I not figured out how to register it. (I need to be able toset AS> credentials without prompt)

The event will fire, whatever you do in the event is in your own, you can display a window, fill data by code or format your harddisk ;-)

The other question, do you need it ASAP ? My working in geckoport is quite stopped this days as other things are in my queue and also waiting if the problem in Linux64 can be solved. Also this feature will not work in Linux64 due the same reason DirectoryService does not work.

Best regards, Jos?
Alex Shishkin
to José Mejuto

28.01.2011 0:01, Jos? Mejuto ?????:

Show quoted text 20 lines
Hello Lazarus-List, Thursday, January 27, 2011, 9:05:14 PM, you wrote: >> If you really need it I can try to add some kind of event to allow the >> user to display a message box or any other window and fill the >> authentication needed. AS> It will be good to add callback to set user defined factory for prompt AS> windows. I not figured out how to register it. (I need to be able toset AS> credentials without prompt) The event will fire, whatever you do in the event is in your own, you can display a window, fill data by code or format your harddisk ;-) The other question, do you need it ASAP ? My working in geckoport is quite stopped this days as other things are in my queue and also waiting if the problem in Linux64 can be solved. Also this feature will not work in Linux64 due the same reason DirectoryService does not work.

It is necessary for a particular project, but the project has a low priority.

José Mejuto
to Alex Shishkin

Hello Lazarus-List,

you wrote
> waiting if the problem in Linux64 can be solved. Also this feature > will not work in Linux64 due the same reason DirectoryService does not > work.

AS> It is necessary for a particular project, but the project has a low AS> priority.

OK, I add this task in my queue for the next week.

Best regards, Jos?