graph LR
REQ[HTTP Request] --> FC[Security Filter Chain]
FC --> AUTH[Autenticación]
AUTH --> Q1{"¿Quién eres?"}
Q1 -->|"Credenciales válidas"| AUTHZ[Autorización]
Q1 -->|"Inválidas"| R401["401 Unauthorized"]
AUTHZ --> Q2{"¿Puedes hacer esto?"}
Q2 -->|"Sí"| CTRL[Controller]
Q2 -->|"No"| R403["403 Forbidden"]
style FC fill:#ff79c6,color:#fff
style AUTH fill:#8be9fd,color:#000
style AUTHZ fill:#50fa7b,color:#000
style R401 fill:#ff5555,color:#fff
style R403 fill:#ff5555,color:#fff
