Authorization middleware for ee-webservice