RE: Re: Restlet and GWT 2.0

2010-01-18 Thread webpost
Hello, Has anyone an idea of what is going wrong? I would like to use restlet as it seems to be a promising framework but I still cannot get it working. Regards, Christophe. --

Basic HTTP Auth without Guards?

2010-01-18 Thread mkhatib
I am trying to implement web services that will be used on an iPhone client. I need the user to authenticate and then make sure he is authorized before executing an action. I am using Spring 2.5.6 along with Restlet 1.1.7. bean name=restletRouter class=org.restlet.ext.spring.SpringRouter

Re: Basic HTTP Auth without Guards?

2010-01-18 Thread Rhett Sutphin
Hi, On Jan 18, 2010, at 6:09 AM, mkhatib wrote: I am trying to implement web services that will be used on an iPhone client. I need the user to authenticate and then make sure he is authorized before executing an action. I am using Spring 2.5.6 along with Restlet 1.1.7. bean

Re: Basic HTTP Auth without Guards?

2010-01-18 Thread mkhatib
Hey, Thanks Sutphin! Now it works when I run it as a standalone application, SpringComponent component = (SpringComponent) context.getBean(restletComponent); component.start() However when I run it on Tomcat, it still doesn't do much, Is there specific configurations to use this Guard with

Re: Basic HTTP Auth without Guards?

2010-01-18 Thread mkhatib
Sorry I meant to say Can I attach the Guard to the Router Directly in the xml file? mkhatib wrote: Hey, Thanks Sutphin! Now it works when I run it as a standalone application, SpringComponent component = (SpringComponent) context.getBean(restletComponent); component.start() However

Re: Basic HTTP Auth without Guards?

2010-01-18 Thread mkhatib
It works now :-) I've edited my web.xml file to use this: servlet servlet-namerest/servlet-name servlet-class com.noelios.restlet.ext.spring.RestletFrameworkServlet /servlet-class init-param param-nametargetRestletBeanName/param-name

URI Pattern matching based on regular expressions

2010-01-18 Thread webpost
Hi Guys, Given a map of regular expression patterns and their associated resources what is the easiest way i can go about adding some sort of custom uri matching. Does anyone have some sort of example? I've seen the wiki link -

Re: Restlet client and setting the request header date

2010-01-18 Thread Thierry Boileau
Hello Garry, I'm sorry for the delay of my answer. At this moment, we need some to support the EXPECT header (see http://restlet.tigris.org/issues/show_bug.cgi?id=413) which is planned for the 2.0 RC. Some pieces are needed in order to make the Request#onResponse() able to catch such

Stack Overflow Error in firstSteps 2.0 m6 code?

2010-01-18 Thread Drew
Hello, So I tried firing up the firstSteps standalone app with RESTlet 2.0 m6 and I got a stackoverflowerror upon running it. Any ideas as to what may be up? I copied the code exactly from the website... I'm a bit of a java noob though so that may be part of it. Thanks, Andrew Here is my

RE: URI Pattern matching based on regular expressions

2010-01-18 Thread webpost
Let me also qualify this by describing what i'm attempting to do. Each URL in my app has misc attributes associated with it. I.e. function seq, name, weighting, validating reg exp pattern, etc I'm currently using this to authenticate users to resources. However, there is some overlap between