context.setAttribute(ExecutionContext.HTTP_TARGET_HOST, this.target);
context.setAttribute(ClientContext.ROUTE, new HttpRoute(this.target, null, this.proxy, false));
context.setAttribute(ClientContext.TARGET_AUTH_STATE, this.targetState);
context.setAttribute(ClientContext.PROXY_AUTH_STATE, this.proxyState);
final AuthCache authCache = new BasicAuthCache();
authCache.put(this.target, this.authscheme1);
authCache.put(this.proxy, this.authscheme2);
context.setAttribute(ClientContext.AUTH_CACHE, authCache);
this.targetState.setState(AuthProtocolState.CHALLENGED);
this.targetState.update(new BasicScheme(), new UsernamePasswordCredentials("user3", "secret3"));