GuardedExample without using deprecated API

2010-09-30 Thread webpost
Hy everybody I was using CXF and change to Restlet because security looks to be easier to implement. I am using JAX-RS and I hopefully found an example with security in the source code: org.restlet.example.ext.jaxrs.GuardedExample I had some difficulties to make it work : We need to call

How to signup a ChallengeAuthenticator when using SpringBeanRouter

2010-09-30 Thread infinity
I have a working app with restlet 2.0 and Server resources configured through SpringBeanRouter ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:util=http://www.springframework.org/schema/util;

RE: Runtime issue with Restlet 2.0-SNAPSHOT

2010-09-30 Thread Jerome Louvel
Hi there, You are probably mixing JARs from different versions in your classpath. You need to make sure that the org.restlet.jar and all extension JARs you are using are coming from the same distribution/version. Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~

Exception in Applet running in Eclipse

2010-09-30 Thread Darin Jackson
Hello, I am getting the following exception when I try to run my applet with a Restlet client. Sep 30, 2010 2:53:41 PM org.restlet.engine.http.connector.HttpClientHelper start INFO: Starting the default HTTP client Sep 30, 2010 2:53:42 PM org.restlet.resource.ClientResource handle INFO: A