Looks like it uses the LdapTemplate of Spring to run the search, which is expected to close the connection for you:
http://bit.ly/1c91oDg Misagh ----- Original Message ----- From: "Mike" <[email protected]> To: [email protected] Sent: Tuesday, December 3, 2013 2:12:41 AM Subject: [cas-user] LdapPersonAttributeDao doesnt close connections? Hi all, Apologies if this is an obvious question I am fairly new to Cas. I'm using Cas with LDAP, specifically with the LdapPersonAttributeDao. I have noticed that even though it opens a connection each time getPeopleForQuery() is called it never seems to close these connections. Am I missing something or is this a bug? Cheers Mike -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
