Re: GuardedExample without using deprecated API

2010-12-15 Thread Romain
Thank you But yet, I don't see how to use the SecurityContext in order to add Basic Authentification to my JAX-RS Application. I followed the tutorial : http://wiki.restlet.org/docs_1.1/13-restlet/28-restlet/57-restlet.html But where could I use the SecurityContext? I really don't see. in the

Re: GuardedExample without using deprecated API

2010-10-09 Thread Stephan Koops
Hi Romain, I don't if I answered to this question: Now it is working but I am wondering about the RoleChecker. My RoleChecker is like this : @SuppressWarnings(deprecation) private static final class RestletRoleChecker implements RoleChecker { public boolean

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