If the cuba.web.useActiveDirectory property is enabled, the LdapAuthProvider class is used by default. In this case, Spring LDAP library is used for user authentication.
The following Web Client application properties are used to setup:
-
cuba.web.ldap.urls– Active Directory server URL. -
cuba.web.ldap.base– database for username search. -
cuba.web.ldap.user–sAMAccountNameattribute value of the user, which has the right to read the information from the Active Directory. -
cuba.web.ldap.password– the password for the LDAP user defined in thecuba.web.ldap.userproperty.
Example of local.app.properties file for the Web Client block:
cuba.web.useActiveDirectory = true cuba.web.ldap.urls = ldap://192.168.1.1:389 cuba.web.ldap.base = ou=Employees,dc=mycompany,dc=com cuba.web.ldap.user = myuser cuba.web.ldap.password = mypassword

