I want to create a global custom session validator for my restlet. One sessionkey will be passed through the header and using that the session is validated . IS there any way to do that globally instead of putting the same code in every resource class ?