We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I think that SardineFactory should get extended to support passing an SSL context as a parameter. Something like:
public static Sardine begin(String username, String password, ProxySelector proxy, SSLContext sslContext) { if (sslContext != null) { final SSLConnectionSocketFactory socketFactory = new SSLConnectionSocketFactory(sslContext); return new SardineImpl(username, password, proxy) { @Override protected SSLConnectionSocketFactory createDefaultSecureSocketFactory() { return socketFactory; } } else return new SardineImpl(username, password, proxy); };
This would allow specifying parameters for the SSL connection, like a key store and a trust store without directly calling an implementation class.
Best Regards,
Frédéric
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I think that SardineFactory should get extended to support passing an SSL context as a parameter.
Something like:
This would allow specifying parameters for the SSL connection, like a key store and a trust store without directly calling an implementation class.
Best Regards,
Frédéric
The text was updated successfully, but these errors were encountered: