in src/main/java/org/apache/sling/junit/remote/httpclient/RemoteTestHttpClient.java [55:73]
public RemoteTestHttpClient(String junitServletUrl, String username, String password, boolean consumeContent) {
if(junitServletUrl == null) {
throw new IllegalArgumentException("JUnit servlet URL is null, cannot run tests");
}
this.junitServletUrl = junitServletUrl;
this.consumeContent = consumeContent;
if (username != null) {
this.username = username;
} else {
this.username = SlingTestBase.ADMIN;
}
if (password != null) {
this.password = password;
} else {
this.password = SlingTestBase.ADMIN;
}
}