SECU-01: JWT Bearer token required for all protected endpoints #23

Closed
opened 2026-03-11 11:14:01 +01:00 by claude · 2 comments
Owner

All API endpoints except GET /api/v1/health and POST /api/v1/agents/register require a valid JWT Bearer token in the Authorization header. Returns 401 Unauthorized for missing or invalid tokens.

Category: Security
REQ-ID: SECU-01

All API endpoints except `GET /api/v1/health` and `POST /api/v1/agents/register` require a valid JWT Bearer token in the `Authorization` header. Returns `401 Unauthorized` for missing or invalid tokens. **Category:** Security **REQ-ID:** SECU-01
Author
Owner

Implemented in Phase 4. SecurityConfig with SecurityFilterChain permits health, register, refresh, and docs endpoints. JwtAuthenticationFilter (OncePerRequestFilter) validates Bearer tokens on all other endpoints, returning 401 for missing/invalid tokens. Key files: SecurityConfig.java, JwtAuthenticationFilter.java.

Implemented in Phase 4. `SecurityConfig` with `SecurityFilterChain` permits health, register, refresh, and docs endpoints. `JwtAuthenticationFilter` (OncePerRequestFilter) validates Bearer tokens on all other endpoints, returning 401 for missing/invalid tokens. Key files: `SecurityConfig.java`, `JwtAuthenticationFilter.java`.
Author
Owner

Implemented: JwtServiceImpl + JwtAuthenticationFilter for JWT Bearer token authentication on protected endpoints.

Implemented: `JwtServiceImpl` + `JwtAuthenticationFilter` for JWT Bearer token authentication on protected endpoints.
Sign in to join this conversation.