Re: CAS authentication in Restlet server

2009-11-10 Thread Arjohn Kampman
Hi Rhett, Many thanks for these pointers and your suggestions. The code looks nice and clean. The license for this code looks very BSD-like, is that correct? I noticed that this code is based on acegi. Is this easier/better than using the CAS client code directly? Arjohn Rhett Sutphin wrote: >

Re: CAS authentication in Restlet server

2009-11-10 Thread Rhett Sutphin
Hi Arjohn, On Nov 10, 2009, at 5:31 AM, Arjohn Kampman wrote: > Hi Rhett, > > Many thanks for these pointers and your suggestions. The code looks > nice > and clean. Thanks. > The license for this code looks very BSD-like, is that > correct? That's correct. You're free to take and adapt it

DELETE goes to GET !!

2009-11-10 Thread webpost
Hi everyone, I have writed a simple resource that extend "ServerResource" and override "delete(Variant v)". When I do a DELETE request on this resource nothing happened. So I have overrided "get(Variant v)" and now when I do a DELETE request, the "get" method is called. I have added many breakp

Automatic conversion with XStream

2009-11-10 Thread legege
Hi, Is there a good way to change the default XStream object that will be used for automatic XML conversion? The power of Restlet 2.0 is really there, but it's really difficult to change the XStream object used in a XstreamRepresentation. Am I missing something? @Get("xml") public Patate retr