Setting realm roles and user attributes depending on LDAP user attributes.
- run
mvn package
(Maven)
- copy the
l9g-conditional-ldap-mapper.jar
and the samplel9g-conditional-ldap-mapper-config.xml
intokeycloak/providers
directory. - restart keycloak
- edit
l9g-conditional-ldap-mapper-config.xml
- add
l9g-conditional-ldap-mapper
to user federated (your LDAP) Mappers. - [Action] -> Sync All Users