}
public CloudFoundryClient(CloudCredentials credentials, URL cloudControllerUrl, String orgName, String spaceName,
HttpProxyConfiguration httpProxyConfiguration, boolean trustSelfSignedCerts) {
Assert.notNull(cloudControllerUrl, "URL for cloud controller cannot be null");
CloudControllerClientFactory cloudControllerClientFactory =
new CloudControllerClientFactory(httpProxyConfiguration, trustSelfSignedCerts);
this.cc = cloudControllerClientFactory.newCloudController(cloudControllerUrl, credentials, orgName, spaceName);
}