The Shibboleth IdP V4 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP5 wiki space for current documentation on the supported version.

ConnectionPool

Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd

Overview

The <ConnectionPool> element defines the LDAP connection pooling behavior for an LDAPConnector.

Reference

Name

Type

Default

Description

Name

Type

Default

Description

minPoolSize

Integer

0

Minimum number of connections to maintain

maxPoolSize

Integer

3

Maximum number of connections to maintain

blockWaitTime

Duration

0

Time to wait for a connection before giving up, 0 means indefinitely

validatePeriodically

Boolean

false

Whether to validate pool connections in the background

validateTimerPeriod

Duration

PT30M

Time between pool validation checks

validateDN

String

 

Base DN of pool validation search

validateFilter

String

(objectClass=*)

The search filter to run during pool validation

expirationTime

Duration

PT10M

Idle time before connections are destroyed. This must be more than 2 seconds.

prunePeriod 4.2

Duration

PT5M

Duration between looking for idle connections to reduce the pool back to its minimum size.

validateOnCheckout 4.2

Boolean

false

Whether to validate connections when checking them out of the pool.

Example

<ConnectionPool minPoolSize="5" maxPoolSize="10" blockWaitTime="PT5S" expirationTime="PT10M" validatePeriodically="true" validateTimerPeriod="PT15M" validateDN="dc=example,dc=org" validateFilter="(ou=people)"/>

Â