Subject area
Connection to the identity provider
How CIAS talks to Keycloak without the business modules knowing Keycloak: ports and adapters, the Keycloak adapter, the in-memory adapter for tests, and the Keycloak extension.
Topics in this subject area
- 1.Ports and adapters
The business logic talks to interfaces (“ports”), an adapter translates for Keycloak. Which ports exist and why a second provider is a second artifact.
- 2.The Keycloak adapter
What the adapter creates in Keycloak and how: organizations, organization roles as groups, profile attributes with permissions, health check.
- 3.The in-memory adapter for tests and development
An identity provider in memory, checked against the same contract tests, for tests and local development without Keycloak.
- 4.The Keycloak extension for the password link
A jar that runs in Keycloak and returns the signed link instead of emailing it itself. What happens without the extension.