I have a question.
I have successfully used this new way of authenticating using Spring LDAP ldapTemplate.authenticate(userId, password), and it works great. However, I was wondering if it would be more performant to use a PoolingContextSource, similar to pooling database connections.
After I added the PoolingContextSource, I was happily greeted with a UnsupportedOperationException. This is because the getContext(principal, credentials) is not supported. So does this mean that it would not be beneficial to pool LDAP connections when using this new api method? If it would be beneficial from a performance standpoint, to pool the connections, could you offer some advice on how to go about doing that?
Thanks in advance for any help you are able to contribute.