I'm using Spring LDAP 2.0.0.RELEASE and am getting an error using the new ldapTemplate.authenticate(LdapQuery, password) method with ldap pooling turned on. I get the error:
java.lang.UnsupportedOperationException: Not supported for this implementation
I only get this error when I have the ldap:pooling tag in my applicationContext.xml
When I remove this, the method works successfully. Any idea why authenticate doesn't work with ldap pooling? Pooling seems to work fine with other ldapTemplate methods.
In order to authenticate the user the ContextSource performs a bind, which is accomplished by creating a new connection with the specified distinguished name and password. Due to this, these connections cannot be pooled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With