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

Mutual Authentication does not work for SOAP or Bulk APIs #213

Closed
metadaddy opened this Issue Jan 17, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@metadaddy
Contributor

metadaddy commented Jan 17, 2018

Currently, it's not possible to use the WSC with Mutual Authentication as there is no way to set a new SSL socket factory in the API client.

@stevenlawrance suggests creating a new Transport based on JdkHttpTransport. This works, but is kludgy and requires the developer to copy Salesforce code into a new class, since the 'useful' methods in JdkHttpTransport are private.

Even with that in place, the Bulk API does not work, as ConnectorConfig.createTransport() doesn't set the transport config when you use a custom transport factory, so the transport is unconfigured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment