IDENTITY-AND-ACCESS-MANAGEMENT-ARCHITECT practice question 3 of 30

Universal containers (UC) is setting up Delegated Authentication to allow employees to log in using their corporate credentials. UC's security team…

Full set: 248 questions
Universal containers (UC) is setting up Delegated Authentication to allow employees to log in using their corporate credentials. UC's security team is concerned about the risk of exposing the corporate login service on the Internet and has asked that a reliable trust mechanism be put in place between the login service and salesforce. What mechanism should an architect put in place to enable a trusted connection between the login services and salesforce?
Answer options
A: Include client ID and client secret in the login header callout.
B: Set up a proxy server for the login service in the DMZ.
C: Require the use of Salesforce security Tokens on password.
D: Enforce mutual Authentication between systems using SSL. Correct answer
Correct Answer:
D. Enforce mutual Authentication between systems using SSL.
Explanation

The core security concern is ensuring that the corporate login service, exposed to the internet, only accepts authentication requests from legitimate Salesforce servers. The most reliable mechanism for this server-to-server trust is Mutual Transport Layer Security (mTLS), also referred to as mutual or two-way SSL/TLS authentication. In this configuration, the corporate login service (the server) is configured to require a client certificate. When Salesforce (the client) initiates the Delegated Authentication callout, it presents its unique client certificate. The corporate service validates this certificate, cryptographically confirming the identity of the caller. This prevents unauthorized systems from invoking the login service.

Why Incorrect

A. Client ID and client secret are credentials used in the OAuth 2.0 protocol for application authentication, not for the SOAP-based callout used by Salesforce Delegated Authentication.
B. A proxy server in a DMZ is a network security best practice for controlling access, but it does not inherently provide a mechanism to authenticate the identity of the calling system.
C. Salesforce security tokens are appended to a user's password to authenticate the user to Salesforce from an untrusted IP address, not for authenticating the Salesforce service to an external service.

References

1. Salesforce Help Documentation

"Mutual Authentication": "You can configure Salesforce to send a certificate with outbound messages

such as workflow-generated outbound messages and Apex callouts... The endpoint can then use this certificate to authenticate your org." Delegated Authentication is a type of outbound callout from Salesforce

and this mechanism is the prescribed method for securing it.

2. Salesforce Help Documentation

"Set Up Delegated Authentication": This document outlines the process

which involves specifying a "Delegated Gateway URL." Securing this URL endpoint is the subject of the question. The Mutual Authentication feature is the Salesforce-native way to secure such outbound connections.

3. Stanford University

CS 255: Introduction to Cryptography

Lecture 10 Notes: In the section on the TLS Handshake Protocol

the notes describe the optional "CertificateRequest" and "Certificate" messages. It states

"The server can ask the client to authenticate itself by sending a CertificateRequest message... The client responds with its certificate." This academic source describes the underlying cryptographic protocol (mTLS) that provides the required trust mechanism. (Available via Stanford's public courseware).

4. OWASP (Open Web Application Security Project)

"Transport Layer Protection Cheat Sheet": In the section on server-side recommendations

it discusses client certificate authentication (mTLS) as a strong method for authenticating clients

stating

"When the server needs to be sure of the client's identity

Client-Side TLS authentication... should be used." This aligns with the requirement for a reliable trust mechanism.

Scroll to Top