ascendix / salesforce-jdbc

MIT License
31 stars 30 forks source link

Add proxy support? should be easy enough #18

Open d416 opened 4 years ago

d416 commented 4 years ago

The com.sforce.ws library which this driver uses has built in methods for specifying and using a proxy server. This is key for large enterprise deployments. Could this be implemented in the driver?

Note the 'setProxy' method in the sforce library https://github.com/forcedotcom/wsc/blob/b02fc05344064ba0e33c6d64768097815124c0d1/src/main/java/com/sforce/ws/ConnectorConfig.java

which could be used by the corresponding methods in the driver https://github.com/ascendix/salesforce-jdbc/blob/86d2c19c096dfa9df4420af61c99ffd6cb12dc54/sf-jdbc-driver/src/main/java/com/ascendix/jdbc/salesforce/connection/ForceService.java

RaulRoPer commented 1 year ago

The com.sforce.ws library which this driver uses has built in methods for specifying and using a proxy server. This is key for large enterprise deployments. Could this be implemented in the driver?

Note the 'setProxy' method in the sforce library https://github.com/forcedotcom/wsc/blob/b02fc05344064ba0e33c6d64768097815124c0d1/src/main/java/com/sforce/ws/ConnectorConfig.java

which could be used by the corresponding methods in the driver https://github.com/ascendix/salesforce-jdbc/blob/86d2c19c096dfa9df4420af61c99ffd6cb12dc54/sf-jdbc-driver/src/main/java/com/ascendix/jdbc/salesforce/connection/ForceService.java

Anything? Http proxy setting propierties are basic.

RaulRoPer commented 1 year ago

Anything?