Skip to content

Custom Keycloak LDAP Group Mapper which creates groups and group memberships from Confluence pages and page properties

License

Notifications You must be signed in to change notification settings

vaulttec/keycloak-confluence-ldap-group-mapper

Repository files navigation

Keycloak Confluence LDAP Group Mapper

CI build Release

Custom Keycloak LDAP Group Mapper which creates groups and group memberships retrieved from Confluence pages (representing the group hierarchy) and page properties (providing a HTML table with a group member column) via Confluence's REST API.

Credit

This project uses ideas or artifacts from other projects, e.g.

Kudos to Niko and Thomas for their great work!

Demo Docker Compose Environment

There's a docker-compose.yml definition to use with Docker Compose. It uses the same configuration as the integration tests.

Build and run all the stuff with:

./mvnw clean package -DskipTests && docker compose up --force-recreate

How to install?

Download a release (*.jar file) that works with your Keycloak version from the list of releases. Follow the below instructions depending on your distribution and runtime environment.

Standalone (without container)

Copy the jar to the providers folder and execute the following command:

${kc.home.dir}/bin/kc.sh build

Container image (Docker)

For Docker-based setups mount or copy the jar to /opt/keycloak/providers.

You may want to check docker-compose.yml as an example.