context.getExecutionContext().setSecurityContext(context.getSecurityContext(GramProvider.MYPROXY_SECURITY_CONTEXT));
} else {
throw new GfacException("Cannot get security context to run on Gram", FaultCode.InvalidRequest);
}
return new GramProvider();
}
}