List of usage examples for com.amazonaws ClientConfiguration setPreemptiveBasicProxyAuth
public void setPreemptiveBasicProxyAuth(Boolean preemptiveBasicProxyAuth)
From source file:org.cloudfoundry.community.servicebroker.s3.config.AwsClientConfiguration.java
License:Apache License
public ClientConfiguration toClientConfiguration() { ClientConfiguration clientConfiguration = new ClientConfiguration(); clientConfiguration.setProxyHost(proxyHost); if (proxyPort != null) { clientConfiguration.setProxyPort(Integer.parseInt(proxyPort)); }// w w w .j a va2s .co m clientConfiguration.setProxyUsername(proxyUsername); clientConfiguration.setProxyPassword(proxyPassword); if (preemptiveBasicProxyAuth != null) { clientConfiguration.setPreemptiveBasicProxyAuth(preemptiveBasicProxyAuth); } return clientConfiguration; }