"pete" <supe...@geekcity.de> schrieb:
>What I want is the browser standard basic-auth dialog popping up,
>entering credentials (maybe saving them if wished), then sending the
>data to the server, processing the login, and if successful to load
>the module, otherwise ask again...
>I found how to send a http request including basic-auth information,
>but that doesn't take care of integrating the standard browser dialog
>window.
The dialog is shown (by the browser automatically), if the server answers with the HTTP response code for "unauthorized" and the HTTP response header informing about the available authentication types.
I'm writing this mail from my mobile phone, so you need to check for the specific values for yourself.
Keep in mind that basic authentication is sending username and password in quasi cleartext, so HTTPS should be used.
Regards, Lothar
--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.