/*
* Binding (which we do both when validating connections and authenticating users) using pooled connections is "tricky"
* according to the Ldaptive mailing list. The connection must be returned to the pool ready for the next connection
* to use (ie not binded as the previous user). Set a BindPassivator to clean the connection when it's returned to the pool.
*/
ConnectionPool cp = pooledBindAuthenticationHandler.getConnectionFactory().getConnectionPool();
BindRequest br = new BindRequest(l.getBindDn(), new Credential(l.getBindCredential()));
cp.setPassivator(new BindPassivator(br));
# cas.authn.ldap[0].poolPassivator=NONE|CLOSE|BINDThis issue looks to have just bit us with 4.2.x, as well.
A network configuration error led to losing two of our four CAS servers at a busy time of day. Some fraction of the users needed to re-login, so there was a natural increase in LDAP pool connections. Every time the validator ran, each connection in the pool failed validation, forcing the creation of a new set of connections. We didn't notice this behavior earlier but, now that we look at it, it's been there all along.
Tom.
> To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAD0p8psvuk%2Br_kUnBhM4MP9sK8%2Bm80VFGF5sqRNbzxYUn0Az1A%40mail.gmail.com.
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/9BE363E2-1316-406C-A3EB-D97AA60A3247%40ucdavis.edu.
No problem.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAD0p8psqbteJVN6Vw5jL6Gm5JG-Ahq%2BYy%2BmTt%2Bckv99m2nm5gw%40mail.gmail.com.
We are currently on the 5.0.x branch. It looks like it's mandatory to migrate 5.1 RC2 to fix this issue ?
Ben Howell-Thomas <ben.howell-thomas@northgateps.com> a écrit :
---You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/20170315165350.Horde.VDzKC-q20etDC6rxCK6PjE2%40courriel.u-paris2.fr.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAD0p8ptErWd_Rge8byxdoGV3PgRQC6d_he32nA3-T5S_TUkiCA%40mail.gmail.com.