> We are currently experiencing an issue with LDAP read timeouts not > corresponding with settings set in CAS.... > Our CAS generated > LDAP search requests are always timing out at 2s as opposed to any other > value inserted for the "com.sun.jndi.ldap.read.timeout" attribute in our > deployerConfigContext.xml
http://download.oracle.com/javase/tutorial/jndi/newstuff/readtimeout.html indicates this environment property is new for Java 6; are you on the right platform? The sure fire way to control the timeLimit on the SearchRequest operation is to use http://www.middleware.vt.edu/pubs/javase/6/docs/api/javax/naming/directory/SearchControls.html#setTimeLimit%28int%29. In CAS you can control that property by setting BindLdapAuthenticationHandler#setTimeout(int) accordingly. See if that does what you need. M -- 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
