-
Notifications
You must be signed in to change notification settings - Fork 438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relaxed SSL validation with RestTemplate interceptors #1869
Conversation
factory.setHttpClient(createSslHttpClient()); | ||
} | ||
else if (restTemplate.getRequestFactory() instanceof InterceptingClientHttpRequestFactory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any other way rather than doing this via reflection? Maybe we should ask the Spring team for relaxing some constraints there if there's no other way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was not able to find better way. I will create ticket in Spring framework
Can you please fix checkstyle issues in the meantime? |
Sorry didn't have time, will do it today. |
done, sorry for delay. |
Thanks @nkolosnjaji ! |
closes #1868