Hi again,
I want to protect some resources under /apps/{appid}:
/apps/{appId}/object
To avoid flooding I have pasted my code here:
http://pastebin.com/gqc2dbFS
I use the tracer filter to print the details of the request. The requested URI
is:
"Resource URI : http://localhost:8080/apps/1"
Which, as far as I understood, according to my createInBoundRoute() method
should be routed to AppServerResource class after pass through the
authenticator and the tracer. However I got a 404 error. If I remove the
credentials from my client, I got a 401 error, also the tracer print the
information of the request correctly, then I think the first router is working
properly.
How can I implement a
router1 -> authenticator ->tracer -> router2
routing scheme?
I want the authenticator to only guard resources under /apps/{appId}.
Thanks in advance,
Sergio
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3078331