{
request.getAttributes().put("app.url", "riap://application/app/");
return Filter.CONTINUE;
}
};
uploadFilter.setNext(new UploadApplication(getContext(),atomApp));
router.attach("/upload",uploadFilter);
router.attach("/app",atomApp);
Filter guard = new UserGuard(getContext(),ChallengeScheme.HTTP_BASIC,"Atom User",atomApp.getAuthService());
guard.setNext(router);
return guard;