Skip to content

Components – BFF

The BFF is the sole entry point for the frontend. It owns the full OIDC authentication flow, enforces authorisation, and delegates domain operations to the backend modules through their inbound service interfaces.

Components

ComponentTechnologyRole
REST APISpring WebFlux RouterInbound adapter — exposes all endpoints to the frontend
Auth FilterSpring Security / OAuth2 Client + Resource ServerHandles the full OIDC login flow; validates JWT on every subsequent request
Core Service DelegateKotlin / Outbound PortIn-process interface to the Core module
Operation Service DelegateKotlin / Outbound PortIn-process interface to the Operation module
Registration Service DelegateKotlin / Outbound PortIn-process interface to the Registration module
Statistics AggregatorKotlinCollects and merges statistics from all three module delegates into a single project-scoped response