Open zjffdu opened 7 years ago
KerberosRestTemplate creates its own HttpClient which has Kerberos support. If you pass your httpClient when you create an instance, it's replaced and the negotiation logic will be gone. The solution is referring to buildHttpClient() method in KerberosRestTemplate and adjust it when you create your HttpClient.
@nunojun Thanks for your response. I will give some time to see if there is any additional problems and if not, close this.
This is my sample code for using spring-security-kerberos under https. But I got 401 ERROR. I have verified the scenario of using kerberos + http and non-kerberos + https. Both of them works, but when I use it under kerberos + https, it would fail. Could anyone help on this ? Thanks