A security architect is designing an authentication and authorization framework for a newly developed microservices-based web application. The architectural design requires a lightweight, stateless mechanism to securely transport identity claims and delegated authorization scopes between independent API endpoints without maintaining server-side session state or performing repeated directory database lookups for each call. Which of the following IAM standards should the architect implement?
- ALightweight Directory Access Protocol over TLS (LDAPS) with central session caching
- OpenID Connect (OIDC) combined with OAuth 2.0 using JSON Web Tokens (JWT)Cevap
- CTerminal Access Controller Access-Control System Plus (TACACS+) with centralized AAA policies
- DSecurity Assertion Markup Language (SAML 2.0) with XML-encoded assertions for inter-service RPC
Cevap
The architect should implement OpenID Connect (OIDC) combined with OAuth 2.0 using JSON Web Tokens (JWT).
OpenID Connect (OIDC) built on top of OAuth 2.0 issues JSON Web Tokens (JWT) containing cryptographically signed claims and scopes. Microservices can independently verify these lightweight tokens using public key cryptography, eliminating the need to maintain server session state or query a central database for every API request.
Adım Adım Çözüm
Anahtar Kavram
Stateless API Authentication and Authorization via OIDC/OAuth 2.0 JWTs
Tahmini Süre:1m 30s