diff --git a/src/main/java/org/gcube/portal/clientcontext/client/GCubeClientContext.java b/src/main/java/org/gcube/portal/clientcontext/client/GCubeClientContext.java index 9857c88..2594ce6 100644 --- a/src/main/java/org/gcube/portal/clientcontext/client/GCubeClientContext.java +++ b/src/main/java/org/gcube/portal/clientcontext/client/GCubeClientContext.java @@ -1,7 +1,6 @@ package org.gcube.portal.clientcontext.client; import com.google.gwt.core.client.EntryPoint; -import com.google.gwt.http.client.RequestBuilder; /** * @@ -31,14 +30,5 @@ public class GCubeClientContext implements EntryPoint { } return userId; }-*/; - /** - * to be used in standard servlets requests before the actual request - * @param request - * @return - */ - public static RequestBuilder injectContext(RequestBuilder request) { - request.setHeader(VRE_ID_ATTR_NAME, getCurrentContextId()); - request.setHeader(USER_ID_ATTR_NAME, getCurrentUserId()); - return request; - }; + }