we're in production with a spring application that uses httpinvoker for remoting services and basic authentication with Acegi for authenticating this requests.
The user registry is an Active Directory and we're using the default implementation of Agegi's ldapAuthenticationProvider.
The problem is that LDAP connections leack terribly... a single user generates more then 20 connections after a couple of requests; these connections stay alive for at least 15 minutes.
If tried working with ldap parameters:
and also disabling connection poolingt and decreasing ldap timeout
<property name="useConnectionPool" value="false"/>
connections keep growing and staying alive for 15 minutes (something related to a TCP timeout somewere in the network I belive....)
Spring (core 2.0-rc2)
WebSphere application server 6.0
Microsoft Active Directory
Any help would be dramatically welcome...