Remove unused private constructor

This KerberosRestTemplate constructor isn‘t used.
This commit is contained in:
Sebastian Staudt
2019-10-24 21:54:36 +02:00
committed by Rob Winch
parent 84a1788969
commit 57750b161e

View File

@@ -163,23 +163,6 @@ public class KerberosRestTemplate extends RestTemplate {
this(keyTabLocation, userPrincipal, password, loginOptions, buildHttpClient());
}
/**
* Instantiates a new kerberos rest template.
*
* @param keyTabLocation the key tab location
* @param userPrincipal the user principal
* @param password the password
* @param loginOptions the login options
* @param httpClient the http client
*/
private KerberosRestTemplate(String keyTabLocation, String userPrincipal, String password, Map<String, Object> loginOptions, HttpClient httpClient) {
super(new HttpComponentsClientHttpRequestFactory(httpClient));
this.keyTabLocation = keyTabLocation;
this.userPrincipal = userPrincipal;
this.password = password;
this.loginOptions = loginOptions;
}
/**
* Builds the default instance of {@link HttpClient} having kerberos
* support.