I spend quite some time implementing a login using Active Directory via LDAP for our Spring Boot 2 application, using Spring Security. This article outlines the implementation options I faced. On my quest to solve the many problems I encountered with this, I learned that there is not much documentation available in the web. I hope this article is of some help for other developers.
I will use the term "LDAP" when refering to the Active Directory because that's what most developers do when they mean "authorization using LDAP".