Hi Lauri,

Your GWT client looks OK to me and I'm surprised that you don't get the
expected result. Where you able to solve this?

Otherwise, we are planning to release Restlet 2.0 M4 by the end of the month
which will include a fresh (automated) port of the Restlet core to GWT. I
suggest that you try again at this point and enter a defect report if it
still doesn't work. 

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 : webp...@tigris.org [mailto:webp...@tigris.org] 
Envoyé : mardi 7 juillet 2009 11:37
À : discuss@restlet.tigris.org
Objet : GAE + GWT + Restlet 2.0 M3 + challenge response is null on server
side

Hi,

I'm simply trying to implement really simple authentication mechanism using
HTTP_BASIC.

In GWT client I do the following:

final Request request = new Request(getMethod(), GWT.getModuleBaseURL() +
_url);
ChallengeResponse challengeResponse = new
ChallengeResponse(ChallengeScheme.HTTP_BASIC, _email, _password);
request.setChallengeResponse(challengeResponse);
final Client client = new Client(PROTOCOL);
client.handle(request, _callback);

However, in my ServerResource class the getRequest().getChallengeResponse()
always returns null.

So, am I missing something here or should this work like that?

Thanks,
Lauri

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

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

Reply via email to