I was following the Cuba documentation for the release 6.1 and trying to implement AD authentication in application.
First I would like to report some text duplication in the documentation, as per attached screenshot (DuplicationDoc.png) you can see that the text are duplicated for the section Point 1 & 2 “Keep and manage user passwords centrally in the LDAP database.Keep and manage user passwords centrally in the LDAP database.”
Secondly, I added the entry cuba.web.externalAuthentication = true in the app.properties for core module and created a file local.app.properties under WEB-INF directory for the web module along with necessary AD configurations as mentioned in the doc. But, it seems authentication is not working and also as per the statement "To enable login, a user account with all the required properties and permissions must be created in the application. It is recommended to leave the password empty, so that the user could log in using the password from LDAP only. " I am not able to leave the password blank, as it’s validating the password & confirm password text fields under Adminstration -> User -> Create screen (Attachment: PasswordRequired.png)
I’m able to login using the local password I set for the user using above screen but unable to authenticate using Active Directory. Kindly guide, if I got the configuration wrong in place or if there are any other configurations required for working with AD authentication in Cuba. Also, please update the documentation accordingly as it’s bit difficult to configure based on current documentation which doesn’t states clearly the location of files to be updated/created for this configuration.