Re: Restlet Spring and Guards

2008-10-24 Thread Gabriel Falkenberg
Hi, and thanks for your help. I think I'm finally starting to get a grip on how an application is supposed to be organized. The solution looks like this: From web.xml: servlet servlet-namerestservice/servlet-name

Re: Restlet Spring and Guards

2008-10-21 Thread Kevin Conaway
Both the Application class and SpringRouter classes are instances of Restlet so I don't believe you need an Application instance. Wherever you have injected your SpringRouter, simply inject your Guard class with the SpringRouter as the next property. Kevin On Mon, Oct 20, 2008 at 8:19 AM,

Restlet Spring and Guards

2008-10-20 Thread Gabriel Falkenberg
Hi I wonder if there is a special way to add guards/filters to a Restlet application when using the Spring extension. My application does not seem to have a separate Application class, only a SpringRouter. Is an Application class required for this? Best Regards Gabriel Falkenberg