// UsernamePasswordCredentials creds = new UsernamePasswordCredentials("testuser", "testpass");
UsernamePasswordCredentials creds = new UsernamePasswordCredentials("Administrator", "pspl!@#");
HttpRequestHandlerChain handlerchain = new HttpRequestHandlerChain();
handlerchain.appendHandler(new AuthRequestHandler(creds));
handlerchain.appendHandler(new HttpServiceHandler(new FeedbackService()));
HttpState state = new HttpState();
// AuthScope authscope = new AuthScope(this.server.getLocalAddress(),this.server.getLocalPort(),"test");
AuthScope authscope = new AuthScope("ps4312",43386,"ps4312");
state.setCredentials(authscope, creds);