Properties props = new Properties();
props.setProperty(AbiquoProperties.CREDENTIAL_IS_TOKEN, "true");
// Create a new context that uses the generated token to perform the API
// calls
AbiquoContext tokenContext = ContextBuilder.newBuilder(new AbiquoApiMetadata()) //
.endpoint(endpoint) //
.credentials("token", token) //
.modules(ImmutableSet.<Module> of(new SLF4JLoggingModule())) //
.overrides(props) //
.build(AbiquoContext.class);