How ivantomic77/greeter works
Project Type Analysis
This is a microservices-based application implementing Zero Trust Security principles, with Spring Cloud Gateway as the central component. The project demonstrates secure service-to-service communication and authentication flow.
Main Components
a. External Components:
• Client Applications (Postman)
• Keycloak Authorization Server (Port 18080)
b. Core Services:
• Spring Cloud Gateway Service
• Greeting Service
c. Security Components:
• JWT Token Flow
• Authentication/Authorization Layers
Connection and Flow Representation
• Blue: Regular service calls
• Green: Successful authentication paths
• Red: Security boundaries
• Gray: Infrastructure components
Specific Elements
a. Gateway Service Details:
• Port exposure
• Security filters
• Route configurations
• Token validation logic
b. Greeting Service Details:
• Protected endpoints
• JWT validation
• Exception handling
c. Security Flow:
1. Client → Gateway (Authentication request)
2. Gateway → Keycloak (Token validation)
3. Gateway → Greeting Service (Protected request with JWT)
4. Zero Trust boundary markers