Security and identity
Services ask a policy port whether a Firefly principal may act. Your configured adapter answers.
- With Spring Boot and WebFlux alone, your team builds
- The glue between Spring Security principals, method permissions, and policy providers.
- jafly provides
- Principal and policy ports, a JWT resource server, method security, and policy adapters.
How it works
The resource server maps a JWT to a Firefly principal and asks PolicyDecisionPort to allow or deny the requested URL. @Secure guards methods.
The embedded policy adapter is the default. The opt-in header bridge rewrites identity headers on authenticated requests. Don’t trust client-sent identity headers on permit-all paths: they pass through unchanged.

