Type of connection | Parameters that Salesforce.com sends at a login request from adapter | Adapter connection interaction with Salesforce.com |
Salesforce.com | sessionId serverURL The adapter connection maintains the sessionId and serverURL, which are required for making any other Web service calls to Salesforce.com. The sessionId is essential for Salesforce.com to ensure that the call is from an authenticated user. | Salesforce.com enforces a session timeout limit that invalidates the sessionId when a configured limit is reached. In order to keep the Salesforce.com connection valid, the adapter monitors the value of the Session Timeout parameter and logs in again before the session times out. Maintaining the adapter connection ensures that the adapter service does not fail because of an INVALID_SESSION_ID error. |
Salesforce.com OAuth | Id accessToken The accessToken is used for making all subsequent calls. The adapter connection maintains the accessToken, which is required for making any other Web service calls to Salesforce.com. The accessToken is essential for Salesforce.com to ensure that the call is from an authenticated user. | Salesforce.com enforces a session timeout limit that invalidates the accessToken when a configured limit is reached. In order to keep the Salesforce.com OAuth connection valid, the adapter monitors the value of the Session Timeout parameter and logs in again before the session times out. Maintaining the adapter connection ensures that the adapter service does not fail because of an INVALID_ACCESS_TOKEN error. |