htran1 commented on a change in pull request #2718: Security token encryption 
support in SFDC connector
URL: https://github.com/apache/incubator-gobblin/pull/2718#discussion_r315936520
 
 

 ##########
 File path: 
gobblin-salesforce/src/main/java/org/apache/gobblin/salesforce/SalesforceConnector.java
 ##########
 @@ -83,6 +83,10 @@ public HttpEntity getAuthentication() throws 
RestApiConnectionException {
       String password = PasswordManager.getInstance(this.state)
           
.readPassword(this.state.getProp(ConfigurationKeys.SOURCE_CONN_PASSWORD));
       String securityToken = 
this.state.getProp(ConfigurationKeys.SOURCE_CONN_SECURITY_TOKEN);
+      if 
(this.state.getPropAsBoolean(ConfigurationKeys.SOURCE_CONN_DECRYPT_SECURITY_TOKEN,
 false)) {
 
 Review comment:
   Why have the option? The password manager will pass the password through if 
it is not encoded.

----------------------------------------------------------------
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

Reply via email to