Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified B2C Commerce Architect (Arch-303) Exam - Topic 1 Question 82 Discussion

An integration cartridge implements communication between the B2C Commerce Storefront and a third-party service provider. The cartridge contains the localServiceRegistry code:How does this code sample accomplish authentication to the service provider?
D) By disabling Basic Auth and executing the service authentication call.
A) By Issuing a Basic Auth request to the service provider.
B) By performing a signed SOAP Auth request using a certificate.
C) By wrapping the authentication service call with Basic Auth.

Salesforce Certified B2C Commerce Architect (Arch-303) Exam - Topic 1 Question 82 Discussion

Actual exam question for Salesforce's Salesforce Certified B2C Commerce Architect (Arch-303) exam
Question #: 82
Topic #: 1
[All Salesforce Certified B2C Commerce Architect (Arch-303) Questions]

An integration cartridge implements communication between the B2C Commerce Storefront and a third-party service provider. The cartridge contains the localServiceRegistry code:

How does this code sample accomplish authentication to the service provider?

Show Suggested Answer Hide Answer
Suggested Answer: D

The code sample shows the creation of a service request to a third-party service provider, where the authentication method is explicitly set to 'NONE' using the line svc.setAuthentication('NONE');. This configuration implies that the request does not use Basic Authentication or any embedded credentials like client ID and secret in the HTTP headers for authentication purposes. Instead, it builds the authentication details into the request body, which suggests that the service expects credentials as part of the payload rather than as part of the standard authentication headers, thus effectively disabling Basic Auth for this transaction.


Contribute your Thoughts:

0/2000 characters
Larue
21 hours ago
I remember practicing a question about SOAP requests, so I’m leaning towards option B, but I could be mixing it up.
upvoted 0 times
...
Francisca
6 days ago
I think the code might be using Basic Auth, but I'm not entirely sure if it’s option A or C.
upvoted 0 times
...

Save Cancel