LDAP

The add-on provides an easy way to enable LDAP authentication in Jmix applications. It allows you to synchronize users and map LDAP groups and user attributes to Jmix security roles. You can use the add-on with Active Directory and any other LDAP implementation.

Also, the add-on supports the case when users are managed only in LDAP, and you don’t store a user entity in the database.

The add-on uses the Spring Security LDAP and provides a ready-to-go security configuration that could be easily enabled by including the add-on in the application. The process and main settings of the LDAP authentication are described in the Spring documentation.

Installation

For automatic installation through Jmix Marketplace, follow instructions in the Add-ons section.

For manual installation, add the following dependency to your build.gradle:

implementation 'io.jmix.ldap:jmix-ldap-starter'

To start working with the application, you need to configure main LDAP properties. See an example in the Getting Started section.