Re: [patch] Guard.authenticate refactor

2007-02-01 Thread Valdis Rigdon
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.

Re: [patch] Guard.authenticate refactor

2007-02-01 Thread Thierry Boileau
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

[patch] Guard.authenticate refactor

2007-02-01 Thread Valdis Rigdon
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