Default LDAP connection pool properties ?
Tom Zeller
tzeller at dragonacea.biz
Mon Sep 12 16:27:31 EDT 2016
>> idp.attribute.resolver.LDAP.connectTimeout = %{idp.authn.LDAP.connectTimeout:undefined}
>
> If undefined doesn't work anyway, just setting them to the empty string is just as easy.
Neither “undefined” nor “” worked for me, so I set the default as a duration :
idp.attribute.resolver.LDAP.connectTimeout = %{idp.authn.LDAP.connectTimeout:PT3S}
idp.attribute.resolver.LDAP.responseTimeout = %{idp.authn.LDAP.responseTimeout:PT3S}
But … I’m still getting an exception :
Caused by: java.lang.IllegalArgumentException
at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:565)
at java.util.concurrent.Executors$DelegatedScheduledExecutorService.scheduleAtFixedRate(Executors.java:735)
at org.ldaptive.pool.AbstractConnectionPool.initialize(AbstractConnectionPool.java:278)
The only other change I made was to uncomment all of the idp.pool.LDAP.* properties in ldap.properties.
So … maybe I should create an issue, I’m confused, our attribute-resolver-ldap.xml + ldap.properties does not seem to work OOB.
Clues welcome,
Tom
More information about the dev
mailing list