private String user = "camel";
private String password = "password";
@Test
public void httpsGetWithAuthentication() throws Exception {
localServer.register("/", new AuthenticationValidationHandler("GET", null, null, getExpectedContent(), user, password));
Exchange exchange = template.request("https4://127.0.0.1:" + getPort() + "/?username=camel&password=password", new Processor() {
public void process(Exchange exchange) throws Exception {
}
});