INTEGRATION-ARCHITECTURE-DESIGNER practice question 20 of 25
Which two requirements should the Salesforce Community Cloud support for self-registration and SSO? Choose 2 answers
Full set: 106 questionsDomain Design a Security Solution
Salesforce Experience Cloud (formerly Community Cloud) supports two primary patterns for combining Single Sign-On (SSO) with self-registration:
1. SAML with Just-in-Time (JIT) Provisioning: When using a SAML-based Identity Provider, Salesforce can be configured with JIT provisioning. This feature automatically creates a user record the first time a user successfully authenticates, using attributes passed in the SAML assertion. This seamlessly combines SSO with user creation.
2. OpenID Connect with a Registration Handler: When using an OpenID Connect-based Authentication Provider, a custom Apex class implementing the Auth.RegistrationHandler interface is required. This handler executes upon the user's first login to create a new user, link to an existing user, or update a user record, providing a flexible, programmatic approach to self-registration.
A. SAML SSO and Registration Handler: While a custom Apex handler (Auth.SamlJitHandler) can be used with SAML, "Just-in-Time provisioning" is the broader, officially named feature for SAML, making option C the more accurate and standard choice.
D. OpenId Connect Authentication Provider and just-in-time provisioning: The term "Just-in-Time provisioning" refers to a specific feature set within the SAML SSO configuration in Salesforce. The equivalent functionality for OpenID Connect is implemented via a Registration Handler, not a feature named JIT.
1. Salesforce Help Documentation - Just-in-Time Provisioning for SAML: "With Just-in-Time (JIT) provisioning for SAML, you can automatically create a user account in your Salesforce org the first time a user logs in from a third-party identity provider... JIT provisioning can simplify account administration and save your users time." This directly supports option C.
2. Salesforce Help Documentation - Configure an OpenID Connect Authentication Provider: "For Registration Handler, select an Apex class that implements the Auth.RegistrationHandler interface... The registration handler creates a Salesforce user, updates an existing user, or links to an existing user, account, or contact." This directly supports option B.
3. Salesforce Developer Documentation - Auth.RegistrationHandler Interface: "Implement this interface to create a custom handler when you use a third-party authentication provider, such as Facebook, or your own identity service using OpenID Connect." This confirms the role of the Registration Handler for OpenID Connect.
4. Salesforce Identity and Access Management Architecture - Architect's Guide: This guide outlines the primary identity patterns. In the context of federated identity, it distinguishes between SAML with JIT provisioning and social sign-on/OpenID Connect using Authentication Providers with a Registration Handler as two distinct methods for external user access and provisioning.
Keep practicing
Take the free INTEGRATION-ARCHITECTURE-DESIGNER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other INTEGRATION-ARCHITECTURE-DESIGNER practice questions
- Question 1Northern Trail Outfitters has a requirement to encrypt few of widely used standard fields…
- Question 2An Integration Developer is developing an HR synchronization app for a client. The app sy…
- Question 3Northern Trail Outfitters submits orders to the manufacturing system web-service. Recentl…
- Question 4Customer is evaluating Platform Events solution and would like help in comparing/contrast…
- Question 5Universal Containers (UC) is a large printing company that sells advertisement banners. T…
- Question 6A large consumer goods manufacturer operating in multiple countries is planning to implem…
