Spring LDAP 3 introduced LdapClient, a fluent alternative to LdapTemplate similar to WebClient and RestClient. It would be nice to update to this where this is a good fit in Spring Security.