Hi Stefan,

You might be able to leverage AJAX to pre-authenticate your browser session
using a Web form as input for login/pwd. Normally the subsequent request
should be preauthenticated by your browser. 

You need to test this first as I haven't done this explicitly before. Worth
a try... :)

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com



-----Message d'origine-----
De : Stefan Riffert [mailto:[email protected]] 
Envoyé : mercredi 29 juillet 2009 11:42
À : [email protected]
Objet : HTTPBAsic auth

Hello,

i am devloping a server side application with retslet 1.1.2.
Most of the Resources require authorization and are represented 
depending on the users level. So far, I use the HTTP Basic 
authentication with a guard in the app.
But I dont like to see this popup requesting the username and password 
in the browser. I would prefer to use a normal webform, which will 
submit the login data using post to a non guarded resource.
Is there a way to manipulate the header in that way, that the challenge 
header for the HTTPBasic authentication is set for the guarded 
resources? So I dont need to reenter the passord?

Regards Stefan

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23765
37

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380873

Reply via email to