Shib IdP v 4.2.1 + LDAP connections in Tomcat
Daniel Fisher
dfisher at vt.edu
Tue Nov 8 12:50:06 UTC 2022
On Mon, Nov 7, 2022 at 3:35 PM Cantor, Scott via users <users at shibboleth.net>
wrote:
> It's notable, perhaps, that the Ldaptive ConnectionFactory interface in
> 1.x does not have a close() method and the 2.x interface does (and at
> present the newer code isn't calling that as part of the bean destroy hook,
> but probably should).
>
> If it existed in 1.x, I'd patch my IdP to call it as a quick test but no
> such luck.
>
As a quick and dirty test you could do
((PooledConnectionFactory) ldapDataConnector.getConnectionFactory()).close()
(Will throw classcastexception if you're not using pooling.)
--Daniel Fisher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20221108/1285fc7a/attachment.htm>
More information about the users
mailing list