Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String username = "test@test.com";
- String password = "testi8Pforce8inNUD6i8P3YxMUJNMvkyjQa";
- // Is this what I should change? from Soap to an OAuth endpoint?
- String authEndPoint = "https://login.salesforce.com/services/Soap/c/35.0/";
- ConnectorConfig config = new ConnectorConfig();
- config.setUsername(username);
- config.setPassword(password);
- config.setAuthEndpoint(authEndPoint);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement