Thanks - that works perfectly for me.
I had been returning the guard to fix an earlier problem - but obviously I
fixed it in the wrong way.
Thanks again for the detailed solution!
RB
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Is-it-possible-to-easily-have-
Hello Arjohn,
sorry for the delay, I ask Jérôme to take a closer look at your suggestion.
Best regards,
Thierry Boileau
Hi all, me again :-)
>
> I have debugged this issue further and have probably found a simple fix.
> I've migrated from 2.0.x to 2.1.x in the mean time and both version are
> af
Hello Richard,
I suggest you to update your code as follow:
public final Restlet createInboundRoot() {
Router rootRouter = new Router(getContext());
Router guardedRouter = new Router(getContext());
// attach your resources, relatively to the root path "/v1"
guardedRouter.attach("/test", MyTe
Thanks again for the update - I will continue to work on this, although right
now I am in the midst of trying to get oAuth2 to work, so it may be a while
before I have a real response.
RB
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Is-it-possible-to-easily-have-a
Look at the HttpClientHelper's isSocketNoDelay() method
(http://www.restlet.org/documentation/2.1/jee/engine/org/restlet/engine/connector/HttpClientHelper.html)
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2961118
Yeah the problem IMHO is that you're returning the guard, and the guard knows
nothing about your URL scheme if I'm not mistaken. This needs something like
router -> guard -> resource
instead of
guard -> router -> resource.
alternatively, there should be an easy way to pattern match a guard to
On 16.05.2012, at 11:00, Thierry Boileau wrote:
> I've added such issue =>
> https://github.com/restlet/restlet-framework-java/issues/588.
Thanks Thierry!
> The original idea behind the Enroler is to get the list of all roles for the
> current ClientInfo#user, which in theory depends only on t
Hello Christian,
I've added such issue =>
https://github.com/restlet/restlet-framework-java/issues/588.
The original idea behind the Enroler is to get the list of all roles for
the current ClientInfo#user, which in theory depends only on the user. Do
you need to restrict the list of roles accordin
Hello,
instead of the fragment part, you can use the query part.
Best regards,
Thierry Boileau
Hello Thierry,
>
> Thanks for your answer, I was thinking something like that. When I look at
> the request the complete request string is send. The problem I am facing is
> that I want to redirect the
9 matches
Mail list logo