yukuai518 commented on a change in pull request #2677: Support encrypted
Salesforce client id and client secret
URL: https://github.com/apache/incubator-gobblin/pull/2677#discussion_r296965667
##########
File path:
gobblin-salesforce/src/main/java/org/apache/gobblin/salesforce/SalesforceConnector.java
##########
@@ -64,8 +64,10 @@ public SalesforceConnector(State state) {
@Override
public HttpEntity getAuthentication() throws RestApiConnectionException {
log.debug("Authenticating salesforce");
- String clientId =
this.state.getProp(ConfigurationKeys.SOURCE_CONN_CLIENT_ID);
- String clientSecret =
this.state.getProp(ConfigurationKeys.SOURCE_CONN_CLIENT_SECRET);
+ String clientId = PasswordManager.getInstance(this.state)
Review comment:
Can we have this decryption logic configurable? So that not all the case we
need this decyption. Today BDE team is also relying on this code base.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services