Federate LDAP Users Seamlessly—With Dynamic Mapping and Attribute Control
Enable secure and flexible user federation from enterprise LDAP directories. Keymate's enhanced LDAP extension provides dynamic field mapping, scoped role assignments, and smart sync strategies—all fully integrated into Keycloak.
Dynamic User Federation and Attribute Mapping via LDAP
Why It Matters
Many large organizations still rely on internal LDAP systems (such as Microsoft AD, OpenLDAP, or 389 Directory Server) for managing user identities. However, native LDAP support in Keycloak is limited in terms of flexibility and automation. Keymate's LDAP Federation Extension solves that by offering:
- Dynamic mapping of LDAP attributes to Keycloak fields
- Attribute-based role assignment and org mapping
- Real-time on-login federation without persistent duplication
- Tenant-aware logic for multi-tenant environments
This allows you to keep your LDAP authoritative while making Keycloak smarter and more adaptive.
Federate, Map, and Enrich in Real Time—No Duplication Needed
When a user logs in, this extension:
Real-Time LDAP Federation
LDAP stays the source of truth—no need for pre-synchronization or user duplication unless explicitly required.
Example: User attributes are fetched and mapped from LDAP at login time without local duplication.
Key Components:
Extension Highlights — What Makes It Unique
Dynamic Attribute Mapping
Map LDAP fields like department, title, orgUnit to any Keycloak attribute
Scoped Role Assignment
Assign roles based on LDAP group membership or org path
Session Enrichment
Populate session notes or tokens with LDAP metadata
Multi-Directory Support
Use different LDAP settings per realm or tenant
On-Demand Federation
Users are fetched and resolved at login—no pre-sync required
Fallback & Default Handling
Supports fallback values or custom handlers for missing fields
Custom Filter Logic
Flexible LDAP filter templates for complex queries (e.g. (&(objectClass=user)(employeeType=active)))
Frequently Asked Questions
How to Use This Extension
Follow these steps to enable the LDAP Federation Extension.