This Keycloak extension is inspired by the KeycloakConditionalSpnegoAuthenticator.
It has two main functions:
- allowing skipping Kerberos authentication based on networks or cookies (or both).
- allowing limiting kerberos to IP ranges
This addresses a common compaint about allowing users to logout and log in again with another user account and/or with username/password
It uses a cookie to skip another kerberos login, when configured to do that.
Build it with Maven, copy the jar to the /opt/keycloak/providers/
directory. We usually build it inside the Keycloak-quickstarts repo, under the extensions
folder. It is easily adaptable to be built elsewhere.
We can provide the jar as a release if people starts asking for it.
![Screenshot 2024-09-12 at 08 41 03](https://private-user-images.githubusercontent.com/6791923/366750930-0d9cfc17-96df-4d4c-9cca-e10b8ebd68e4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMzE2MzEsIm5iZiI6MTczOTMzMTMzMSwicGF0aCI6Ii82NzkxOTIzLzM2Njc1MDkzMC0wZDljZmMxNy05NmRmLTRkNGMtOWNjYS1lMTBiOGViZDY4ZTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDMzNTMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjFjNTRjZmE2MDIyMDdkZDBlMmZmZjhmODBiYjUxMGY3MGEzZjU5YzcwMWE3YjE3N2VkZTc1OWFkMjRiMmM5MyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7C7ObI74giQTGSmHx4YzvOXLDHxClR9yZ9lgrcxJdcg)