Hi Chuck,
Yes, you can use "new Context()" as long as you don't use the "dispatcher"
property.
Best regards,
Jerome
> -Message d'origine-
> De : Chuck Hinson [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 1 février 2007 18:51
> À : discuss@restlet.tigris.org
> Objet : RE: RE: Unit testin
It appears that a meaningful request just requires a proper method and a URI,
but I'm not sure what's required to create a meaningful context. If my
resource has no need of Context, is it OK to just use Context() to create a
context object?
--Chuck
-Original Message-
From: Jerome Lou
Any name is fine with me. For reference, I'm delegating to
doAuthentication() in the Acegi framework.
Thierry Boileau wrote:
Wow!
Thank you very much Valdis! Do you mind if the delegate method is
renamed to "checkSecret"?
Best regards,
Thierry Boileau
I've attached a simple patch for org.
I don't have examples but you need to call either the constructor with three
parameters (Context, Request, Response) or use the default on and then call
init(Context,Request,Response).
Your main concern should be to create meaningful Context, Request and
Response instances. Then, invoking getRepr
Hi all,
I have completed the migration of to our new server using a different
hosting company. Some of you have reported speed issues in the past. I hope
that the new server will provide a better experience for everyone. It will
certainly be more stable (the old one was freezing regularly for no
Wow!
Thank you very much Valdis! Do you mind if the delegate method is
renamed to "checkSecret"?
Best regards,
Thierry Boileau
I've attached a simple patch for org.restlet.Guard which breaks out
the checking of identifier.equals(secret) to a separate method. We
use Acegi Security and this l
I've attached a simple patch for org.restlet.Guard which breaks out the
checking of identifier.equals(secret) to a separate method. We use
Acegi Security and this lets me simply delegate the username/password
check to the ProviderManager without having to override authenticate()
completely. B
Anyone have example of unit tests for Resource subclasses?
I'm trying to figure out what all needs to be set up before I can do
things like invoke a Resource's getRepresentation method.
--Chuck
Chuck Hinson
Gestalt LLC
phone: 610.994.2833
IM: chucking24 (Yah
Hello Nick,
I tried again and it seems to work properly (see sample code in
attached file). However, as it seems that this connector is still a beta
release, the Restlet Jetty connector will use the Basic IO in SSL mode by
default.
Best regards,
THierry Boileau
Hi Thierry, I wrote a simple te
Hi Alex,
Good point, I've just added a setLogger() method to Context. Committed to
SVN.
Best regards,
Jerome
> -Message d'origine-
> De : news [mailto:[EMAIL PROTECTED] De la part de Alex Combs
> Envoyé : mercredi 31 janvier 2007 19:26
> À : discuss@restlet.tigris.org
> Objet : Re: Co
10 matches
Mail list logo