Archives

Salesforce API Login Authentication

package com.thysmichels; import com.sforce.soap.enterprise.Connector; import com.sforce.soap.enterprise.EnterpriseConnection; import com.sforce.soap.partner.*; import com.sforce.ws.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class SalesforceLogin { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); System.out.println(“Enter Salesforce Username: “); String username = reader.readLine(); System.out.println(“Enter Salesforce Password: […]

Rate this:

Read More