Keycloak comes with a range of different adapters for Java application. Selecting the correct adapter depends on the target platform.