Hi Surjendu,

On Apr 21, 2008, at 11:55 AM, Surjendu wrote:

Hi Barrie

Thanks for ur response. But the sample codebase Jerome suggested does not work.

I did the following which did not work

Router router = new Router(getContext());
router.attach("/domain/{domainname}", DomainResource.class);
Guard guard = new SamePageGuard(getContext(),ChallengeScheme.HTTP_BASIC);
guard.setNext(router);
return router;

You probably want to return the guard here.

Rhett

Reply via email to