RE: Re: how to use Guard to protect confirmed URIs

2009-07-16 Thread Johnson
Thanks thboileau,

yes, you are right.

but I still don't understand what baseUris means in Guard class. what can we do 
with it?

Do we just use it like: 

CollectionString baseUris = new ArrayListString();

then put empty baseUris into the constructor of Guard or its subclass?

can I put something into it or not? why?

Can you explain it to me?

Thanks and Regards,

Johnson

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


Re: Need help with S3App.java example, from RESTful Web Services (O'Reilly)

2009-07-16 Thread R.H.
Hello Jerome,

Any updates on when Restlet: Official Developer's Guide to RESTful
Web Applications in Java printing will be available. This is all the
information I get from Amazon.co.uk:
 Currently unavailable. We don't know when or if this item will
be back in stock.

Cheers,
woodHack

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


Re: how to use Guard to protect confirmed URIs

2009-07-16 Thread Thierry Boileau
Hello Johnson,


this information is specific to the HTTP_DIGEST authentication scheme, 
here is the related excerpt from the rfc 2069 :

domain
 A comma-separated list of URIs, as specified for HTTP/1.0. The
 intent is that the client could use this information to know the
 set of URIs for which the same authentication information should be
 sent.  The URIs in this list may exist on different servers. If
 this keyword is omitted or empty, the client should assume that the
 domain consists of all URIs on the responding server.

A client may remember the username, password and nonce values, so that 
future requests within the specified domain may include the 
Authorization header preemptively.

I hope this will help you.

Best regards,
Thierry Boileau

 Thanks thboileau,

 yes, you are right.

 but I still don't understand what baseUris means in Guard class. what can we 
 do with it?

 Do we just use it like: 

 CollectionString baseUris = new ArrayListString();

 then put empty baseUris into the constructor of Guard or its subclass?

 can I put something into it or not? why?

 Can you explain it to me?

 Thanks and Regards,

 Johnson

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



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