CAS-002 · Question #4
Which of the following is true about an unauthenticated SAMLv2 transaction?
The correct answer is A. The browser asks the SP for a resource. In the SAMLv2 flow, an unauthenticated transaction begins when the browser requests a resource from the Service Provider (SP), which then initiates the authentication redirect to the Identity Provider.
Question
Which of the following is true about an unauthenticated SAMLv2 transaction?
Options
- AThe browser asks the SP for a resource.
- BThe browser asks the IdP for a resource.
- CThe browser asks the IdP to validate the user.
- DThe browser asks the SP to validate the user.
How the community answered
(49 responses)- A92% (45)
- B4% (2)
- C2% (1)
- D2% (1)
Why each option
In the SAMLv2 flow, an unauthenticated transaction begins when the browser requests a resource from the Service Provider (SP), which then initiates the authentication redirect to the Identity Provider.
In SAMLv2, the flow for an unauthenticated user starts with the browser sending a request to the Service Provider for a protected resource. Because the user has no active session, the SP cannot fulfill the request and instead redirects the browser to the Identity Provider (IdP) with an authentication request. This SP-initiated flow is the standard starting point for an unauthenticated SAMLv2 transaction.
The browser does not ask the IdP directly for a resource; the IdP is an authentication authority, not a resource provider - it receives the browser only after the SP redirects it.
The browser does not proactively ask the IdP to validate the user; validation is triggered by the SP's redirect after the initial resource request.
The SP does not validate users itself in SAML federation; it delegates authentication to the IdP, which is the entire purpose of the SAML trust relationship.
Concept tested: SAMLv2 SP-initiated unauthenticated transaction flow
Source: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
Topics
Community Discussion
No community discussion yet for this question.