Advertisement
Guest User

Untitled

a guest
May 5th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. String username = "test@test.com";
  2. String password = "testi8Pforce8inNUD6i8P3YxMUJNMvkyjQa";
  3.  
  4. // Is this what I should change? from Soap to an OAuth endpoint?
  5. String authEndPoint = "https://login.salesforce.com/services/Soap/c/35.0/";
  6.  
  7. ConnectorConfig config = new ConnectorConfig();
  8.  
  9. config.setUsername(username);
  10. config.setPassword(password);
  11. config.setAuthEndpoint(authEndPoint);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement