Which statement about SAML 2.0 is correct?
Trap 1: SAML supports only IdP-initiated SSO.
This statement is incorrect because SAML 2.0 is designed to support both Identity Provider (IdP)-initiated and Service Provider (SP)-initiated Single Sign-On (SSO) flows. In an IdP-initiated flow, the user starts at the IdP and clicks a link to access an SP, receiving an assertion. Conversely, in an SP-initiated flow, the user attempts to access a resource directly at the SP, which then redirects them to the IdP for authentication before receiving an assertion. The flexibility to support both initiation types makes SAML highly adaptable to various enterprise and cloud application integration scenarios.
Trap 2: SAML uses JSON for its assertions.
This statement is incorrect. SAML (Security Assertion Markup Language) fundamentally relies on XML (Extensible Markup Language) for structuring its assertions, protocols, and metadata. SAML assertions, which convey authentication and authorization information, are digitally signed XML documents. While JSON (JavaScript Object Notation) is a popular data interchange format, it is not the format specified or used by the SAML standard for its core components, which predates widespread JSON adoption.
Trap 3: SAML is primarily used for authorization, not authentication.
This statement is incorrect because SAML's primary and most widespread use case is for authentication, specifically enabling Single Sign-On (SSO) across disparate security domains. While SAML assertions can contain authorization attributes (e.g., roles or group memberships) that service providers use to make access control decisions, its fundamental purpose is to convey authentication decisions from an Identity Provider to a Service Provider. The authorization aspect is typically a secondary function, leveraging the authenticated identity rather than being the sole or primary focus.
- A
SAML relies on browser redirects for SSO flows.
SAML's core mechanism for transmitting authentication assertions between the Identity Provider (IdP) and Service Provider (SP) in a web-based Single Sign-On (SSO) scenario heavily leverages HTTP redirects. Specifically, the IdP often sends a SAML assertion to the user's browser, which then redirects the browser to the SP with the assertion embedded in the HTTP POST or GET request. This redirect mechanism ensures the user agent (browser) acts as an intermediary, facilitating the secure exchange of authentication information without direct back-channel communication between IdP and SP for every user session.
- B
SAML supports only IdP-initiated SSO.
Why wrong: This statement is incorrect because SAML 2.0 is designed to support both Identity Provider (IdP)-initiated and Service Provider (SP)-initiated Single Sign-On (SSO) flows. In an IdP-initiated flow, the user starts at the IdP and clicks a link to access an SP, receiving an assertion. Conversely, in an SP-initiated flow, the user attempts to access a resource directly at the SP, which then redirects them to the IdP for authentication before receiving an assertion. The flexibility to support both initiation types makes SAML highly adaptable to various enterprise and cloud application integration scenarios.
- C
SAML uses JSON for its assertions.
Why wrong: This statement is incorrect. SAML (Security Assertion Markup Language) fundamentally relies on XML (Extensible Markup Language) for structuring its assertions, protocols, and metadata. SAML assertions, which convey authentication and authorization information, are digitally signed XML documents. While JSON (JavaScript Object Notation) is a popular data interchange format, it is not the format specified or used by the SAML standard for its core components, which predates widespread JSON adoption.
- D
SAML is primarily used for authorization, not authentication.
Why wrong: This statement is incorrect because SAML's primary and most widespread use case is for authentication, specifically enabling Single Sign-On (SSO) across disparate security domains. While SAML assertions can contain authorization attributes (e.g., roles or group memberships) that service providers use to make access control decisions, its fundamental purpose is to convey authentication decisions from an Identity Provider to a Service Provider. The authorization aspect is typically a secondary function, leveraging the authenticated identity rather than being the sole or primary focus.