Hmm, yeah, I know that the dialog pops up, if an "authorization
required" response arrives, normally. Just how do I trigger the whole
thing? If I use RequestBuilder, I can send a getRequest, and set an
appropriate response header on the server. Just that then I have to
deal with it manually in my Callback, so I don't know how to trigger
the popup then and direct all further processing back to the browser.
If try start off with a normal servlet, I just get a "your module may
need to be (re)compiled" error, when redirecting to the GWT-Module
after successful login... At least in Dev-Mode... Besides, that this
is not very elegant, disconnecting the login completely from the
module... I'd rather trigger the GWT-Module somehow to use the native
browser authorization and use the login data afterwards...

PS: I'm using https ;-)


On Oct 16, 2:34 am, Lothar Kimmeringer <[email protected]> wrote:
> "pete" <[email protected]> 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.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to