femoved inject context as it was useless

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/client-context-library@134942 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-11-28 11:19:41 +00:00
parent 0689fc24b0
commit e543d209f8
1 changed files with 1 additions and 11 deletions

View File

@ -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;
};
}